summaryrefslogtreecommitdiff
path: root/template/frontpage copy.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/frontpage copy.st')
-rwxr-xr-xtemplate/frontpage copy.st2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/frontpage copy.st b/template/frontpage copy.st
index 4549dd7..7a6b1c9 100755
--- a/template/frontpage copy.st
+++ b/template/frontpage copy.st
@@ -177,6 +177,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>