summaryrefslogtreecommitdiff
path: root/template/frontpagePROFILE.st
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-03 21:30:24 +0000
committeryo momma <shutup@oops.wtf>2026-02-03 21:30:24 +0000
commit263677a46ee031277fae07109acac17b5ef821c4 (patch)
tree0bbd6da3ca4fc9e4809f20be713161d39a5a525a /template/frontpagePROFILE.st
parentb3928bc192cdf729d4b9e53ff5603905ae446fb7 (diff)
Refactor: extract page init snippets
Diffstat (limited to 'template/frontpagePROFILE.st')
-rwxr-xr-xtemplate/frontpagePROFILE.st2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/frontpagePROFILE.st b/template/frontpagePROFILE.st
index 5fdef71..4c1b63b 100755
--- a/template/frontpagePROFILE.st
+++ b/template/frontpagePROFILE.st
@@ -213,6 +213,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>