define justifiedGalleryActive in head.tpl to not break other pages autoload
This commit is contained in:
parent
72c30ea444
commit
61ce524a33
@ -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();
|
||||
|
@ -25,6 +25,7 @@
|
||||
var updateInterval = {{$update_interval}};
|
||||
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||
var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
|
||||
var justifiedGalleryActive = false;
|
||||
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user