try to force the update mode to fix the "starting up browser, quickly loads page 2 at the beginning" bug

This commit is contained in:
friendica
2014-06-13 05:38:00 -07:00
parent 4c743b0e15
commit b5ea259666
8 changed files with 43 additions and 43 deletions

View File

@@ -618,7 +618,7 @@ function updateConvItems(mode,data) {
$("#page-spinner").spin('small');
$.get(update_url,function(data) {
var update_mode = ((page_load) ? 'replace' : 'update');
var update_mode = ((page_load && bParam_page == 1) ? 'replace' : 'update');
if(scroll_next)
update_mode = 'append';
page_load = false;