From 29c5a65e8f773b2acd63b4f378a749bdb686bb9a Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 21 Jul 2020 19:25:37 +0000 Subject: reset bParam_page in case of failure --- view/js/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'view/js') 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("") != (-1)) && (data.indexOf("") == (-1))) { console.log('Incomplete data. Reloading'); in_progress = false; + bParam_page = bParam_page - 1; liveRecurse ++; if(liveRecurse < 10) { liveUpdate(); -- cgit v1.2.3