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:
parent
7459d2c9e3
commit
f8e1927150
13
js/main.js
13
js/main.js
@ -150,7 +150,7 @@
|
||||
var scroll_next = false;
|
||||
var next_page = 1;
|
||||
var page_load = true;
|
||||
var loadingPage = false;
|
||||
var loadingPage = true;
|
||||
var pageHasMoreContent = true;
|
||||
var updateCountsOnly = false;
|
||||
|
||||
@ -511,6 +511,10 @@ function updateConvItems(mode,data) {
|
||||
}
|
||||
prev = ident;
|
||||
});
|
||||
|
||||
if(loadingPage) {
|
||||
loadingPage = false;
|
||||
}
|
||||
}
|
||||
|
||||
$('.like-rotator').spin(false);
|
||||
@ -1006,13 +1010,6 @@ jQuery.timeago.settings.strings = {
|
||||
|
||||
|
||||
$(".autotime").timeago();
|
||||
//$("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
//reCalcHeight();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user