From b5ea259666356c0fc06f281ebb1e5d13d7ab104a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 13 Jun 2014 05:38:00 -0700 Subject: try to force the update mode to fix the "starting up browser, quickly loads page 2 at the beginning" bug --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index 871b683d5..19af9c2ff 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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; -- cgit v1.2.3