this should fix the "always loads page 2 first if you're scrolled down the page a fair ways and reload the page".

This commit is contained in:
friendica 2013-12-09 13:43:15 -08:00
parent 7459d2c9e3
commit f8e1927150

View File

@ -150,7 +150,7 @@
var scroll_next = false; var scroll_next = false;
var next_page = 1; var next_page = 1;
var page_load = true; var page_load = true;
var loadingPage = false; var loadingPage = true;
var pageHasMoreContent = true; var pageHasMoreContent = true;
var updateCountsOnly = false; var updateCountsOnly = false;
@ -511,6 +511,10 @@ function updateConvItems(mode,data) {
} }
prev = ident; prev = ident;
}); });
if(loadingPage) {
loadingPage = false;
}
} }
$('.like-rotator').spin(false); $('.like-rotator').spin(false);
@ -1006,13 +1010,6 @@ jQuery.timeago.settings.strings = {
$(".autotime").timeago(); $(".autotime").timeago();
//$("div.wall-item-body").divgrow({ initialHeight: 400 });
//reCalcHeight();
}); });