define justifiedGalleryActive in head.tpl to not break other pages autoload
This commit is contained in:
@@ -1135,7 +1135,7 @@ $(window).scroll(function () {
|
|||||||
$('#more').css("top","400");
|
$('#more').css("top","400");
|
||||||
$('#more').show();
|
$('#more').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
||||||
if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) {
|
if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) {
|
||||||
$('#more').hide();
|
$('#more').hide();
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
var updateInterval = {{$update_interval}};
|
var updateInterval = {{$update_interval}};
|
||||||
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||||
var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
|
var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
|
||||||
|
var justifiedGalleryActive = false;
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user