aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-30 19:22:02 +0000
committerMario <mario@mariovavti.com>2020-07-30 19:22:02 +0000
commit364346b07cfa309f79b8d2e4f8c91b018902e8a1 (patch)
tree915b4c2f9f7461a38033e80fc703df70a30dddc4 /view
parentbe15a395d868c68855cb2a38fbcfcbdaaeaaeb0e (diff)
downloadvolse-hubzilla-364346b07cfa309f79b8d2e4f8c91b018902e8a1.tar.gz
volse-hubzilla-364346b07cfa309f79b8d2e4f8c91b018902e8a1.tar.bz2
volse-hubzilla-364346b07cfa309f79b8d2e4f8c91b018902e8a1.zip
syntax
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 4d3b2d770..0e143bc99 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1062,7 +1062,7 @@ function liveUpdate(notify_id) {
function cache_next_page() {
page_load = true;
- bParam_page = bParam_page + 1;
+ bParam_page++;
update_url = buildCmd();
$.get(update_url, function(data) {
@@ -1075,8 +1075,8 @@ function cache_next_page() {
if((data.indexOf("<html>") != (-1)) && (data.indexOf("</html>") == (-1))) {
console.log('Incomplete data. Reloading');
in_progress = false;
- bParam_page = bParam_page - 1;
- liveRecurse ++;
+ bParam_page--;
+ liveRecurse++;
if(liveRecurse < 10) {
liveUpdate();
}
@@ -1098,7 +1098,7 @@ function cache_next_page() {
page_cache.page = bParam_page;
page_cache.time = Date.now();
- bParam_page = bParam_page - 1;
+ bParam_page--;
page_load = false;
})
.done( function( instance ) {