mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:35:12 +00:00
Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
ce36e8a8bb
1 changed files with 2 additions and 2 deletions
|
@ -1114,7 +1114,7 @@ $(window).scroll(function () {
|
|||
$('#more').show();
|
||||
}
|
||||
|
||||
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
||||
if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
|
||||
if((pageHasMoreContent) && (! loadingPage)) {
|
||||
$('#more').hide();
|
||||
$('#no-more').hide();
|
||||
|
@ -1134,7 +1134,7 @@ $(window).scroll(function () {
|
|||
$('#more').show();
|
||||
}
|
||||
|
||||
if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
||||
if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
|
||||
if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) {
|
||||
$('#more').hide();
|
||||
$('#no-more').hide();
|
||||
|
|
Loading…
Reference in a new issue