diff options
Diffstat (limited to 'template/simplerlog.st')
| -rwxr-xr-x | template/simplerlog.st | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/template/simplerlog.st b/template/simplerlog.st index 7e68473..819f808 100755 --- a/template/simplerlog.st +++ b/template/simplerlog.st @@ -41,24 +41,12 @@ $endif$ <!--END HEAD--> <script> var Recips = []; - jQuery(function() { - initLog(Recips) - }); + var MasonryColumnWidth = 270; </script> +<script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script> - <script> -jQuery(window).load(function(){ - jQuery('#posts').masonry({ columnWidth: 270 }); - jQuery('#posts').masonry({ singleMode: true }); - jQuery('#posts').masonry({ resizeable: true }); - jQuery('#posts').masonry({ animate: true}); - - - }); -</script> - - - + + </head> @@ -159,12 +147,7 @@ dump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic r $dumps: { d | $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$ @@ -216,6 +199,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> |
