Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
ce36e8a8bb
@ -1114,7 +1114,7 @@ $(window).scroll(function () {
|
|||||||
$('#more').show();
|
$('#more').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
|
||||||
if((pageHasMoreContent) && (! loadingPage)) {
|
if((pageHasMoreContent) && (! loadingPage)) {
|
||||||
$('#more').hide();
|
$('#more').hide();
|
||||||
$('#no-more').hide();
|
$('#no-more').hide();
|
||||||
@ -1134,7 +1134,7 @@ $(window).scroll(function () {
|
|||||||
$('#more').show();
|
$('#more').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
|
||||||
if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) {
|
if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) {
|
||||||
$('#more').hide();
|
$('#more').hide();
|
||||||
$('#no-more').hide();
|
$('#no-more').hide();
|
||||||
|
Reference in New Issue
Block a user