aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-21 19:25:37 +0000
committerMario <mario@mariovavti.com>2020-07-21 19:25:37 +0000
commit29c5a65e8f773b2acd63b4f378a749bdb686bb9a (patch)
treee15057437b5de99ef4bc44c92402a6115e118c03 /view/js/main.js
parentdd2ffae8bf913e686bb700624154f9176489396d (diff)
downloadvolse-hubzilla-29c5a65e8f773b2acd63b4f378a749bdb686bb9a.tar.gz
volse-hubzilla-29c5a65e8f773b2acd63b4f378a749bdb686bb9a.tar.bz2
volse-hubzilla-29c5a65e8f773b2acd63b4f378a749bdb686bb9a.zip
reset bParam_page in case of failure
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index b15e49318..f6a009937 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1075,6 +1075,7 @@ 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 ++;
if(liveRecurse < 10) {
liveUpdate();