aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-13 05:38:00 -0700
committerfriendica <info@friendica.com>2014-06-13 05:38:00 -0700
commitb5ea259666356c0fc06f281ebb1e5d13d7ab104a (patch)
treecf19710198703830a34873267fbf595b752b9867 /view
parent4c743b0e15ea6344e70d327a182908bb0273e6ad (diff)
downloadvolse-hubzilla-b5ea259666356c0fc06f281ebb1e5d13d7ab104a.tar.gz
volse-hubzilla-b5ea259666356c0fc06f281ebb1e5d13d7ab104a.tar.bz2
volse-hubzilla-b5ea259666356c0fc06f281ebb1e5d13d7ab104a.zip
try to force the update mode to fix the "starting up browser, quickly loads page 2 at the beginning" bug
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
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;