From be4558e204f9f1e61fc0039741cf9e487dd85316 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 2 Nov 2023 16:58:11 +0000 Subject: [PATCH] Reset header and footer before loading new article --- www/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/js/app.js b/www/js/app.js index 251432bf..8a7403bf 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -4705,6 +4705,7 @@ var filterClickEvent = function (event) { var decHref = decodeURIComponent(href); if (!/^(?:#|javascript)/i.test(decHref)) { uiUtil.pollSpinner('Loading ' + decHref.replace(/([^/]+)$/, '$1').substring(0, 18) + '...'); + uiUtil.showSlidingUIElements(); } } } @@ -6021,6 +6022,7 @@ function addListenersToLink (a, href, baseUrl) { } // @TODO: We are getting double activations of the click event. This needs debugging. For now, we use a flag to prevent this. a.newcontainer = true; // Prevents double activation + uiUtil.showSlidingUIElements(); goToArticle(zimUrl, downloadAttrValue, contentType, zimUrlFullEncoding); setTimeout(reset, 1400); };