From 61ce524a33c3195794a24c4ce5820684369c58dd Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 12 Sep 2014 21:32:53 +0200 Subject: define justifiedGalleryActive in head.tpl to not break other pages autoload --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index 56c60bd6e..13f1fea8f 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1135,7 +1135,7 @@ $(window).scroll(function () { $('#more').css("top","400"); $('#more').show(); } - + if($(window).scrollTop() + $(window).height() == $(document).height()) { if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) { $('#more').hide(); -- cgit v1.2.3