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 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);
@ -984,7 +988,7 @@ function previewTheme(elm) {
$(document).ready(function() {
jQuery.timeago.settings.strings = {
jQuery.timeago.settings.strings = {
prefixAgo : aStr['t01'],
prefixFromNow : aStr['t02'],
suffixAgo : aStr['t03'],
@ -1002,17 +1006,10 @@ jQuery.timeago.settings.strings = {
years : aStr['t15'],
wordSeparator : aStr['t16'],
numbers : aStr['t17'],
};
$(".autotime").timeago();
//$("div.wall-item-body").divgrow({ initialHeight: 400 });
//reCalcHeight();
};
$(".autotime").timeago();
});