diff options
Diffstat (limited to 'template/frontpagePROFILE.st')
| -rwxr-xr-x | template/frontpagePROFILE.st | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/template/frontpagePROFILE.st b/template/frontpagePROFILE.st index 5fdef71..6f64d61 100755 --- a/template/frontpagePROFILE.st +++ b/template/frontpagePROFILE.st @@ -156,12 +156,7 @@ You are viewing the current trending images posted to dump.fm; a super fun commu $dumps: { d | $hall_log_dump(dump=d)$ }$ - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ @@ -213,6 +208,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> |
