diff --git a/prosopopee/themes/exposure/templates/gallery-index.html b/prosopopee/themes/exposure/templates/gallery-index.html index da5e858..4e58492 100644 --- a/prosopopee/themes/exposure/templates/gallery-index.html +++ b/prosopopee/themes/exposure/templates/gallery-index.html @@ -77,31 +77,31 @@ var slowLoad = window.setTimeout( function() { var html_node = document.getElementsByTagName('html')[0]; var div = document.createElement('div'); div.setAttribute('id', 'slow-notice'); - var t1 = document.createTextNode("The website is taking a long time to load."); - var br = document.createElement('br'); - var t2 = document.createTextNode("You can switch to the "); - var a = document.createElement('a'); - a.setAttribute('href', './light'); - a.innerHTML = 'Light Weight Site'; + var t1 = document.createTextNode("The website is taking a long time to load."); + var br = document.createElement('br'); + var t2 = document.createTextNode("You can switch to the "); + var a = document.createElement('a'); + a.setAttribute('href', './light'); + a.innerHTML = 'Light Weight Site'; - var dismiss = document.createElement('span'); - dismiss.innerHTML = '[x] dismiss'; - dismiss.setAttribute('class', 'dismiss'); - dismiss.onclick = function() { - html_node.removeChild(div); - } + var dismiss = document.createElement('span'); + dismiss.innerHTML = '[x] dismiss'; + dismiss.setAttribute('class', 'dismiss'); + dismiss.onclick = function() { + html_node.removeChild(div); + } - var dismiss_container = document.createElement('div'); - dismiss_container.appendChild(dismiss); - dismiss_container.setAttribute('class', 'dismiss-container'); + var dismiss_container = document.createElement('div'); + dismiss_container.appendChild(dismiss); + dismiss_container.setAttribute('class', 'dismiss-container'); - div.appendChild(t1); - div.appendChild(br); - div.appendChild(t2); - div.appendChild(a); - div.appendChild(dismiss_container); + div.appendChild(t1); + div.appendChild(br); + div.appendChild(t2); + div.appendChild(a); + div.appendChild(dismiss_container); - html_node.appendChild(div); + html_node.appendChild(div); }, 1000 ); window.addEventListener( 'load', function() {