From c193313a2123f966af160602d7190ef5bf768c24 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 1 Apr 2025 18:02:13 +0100 Subject: [PATCH] Fix opening pages in new window after zimit --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 7f6fedf1..53a3fee8 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -7100,7 +7100,7 @@ function addListenersToLink (a, href, baseUrl) { zimUrl = uiUtil.deriveZimUrlFromRelativeUrl(uriComponent, 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 + // a.newcontainer = true; // Prevents double activation // uiUtil.showSlidingUIElements(); // Tear down contents of articleWindow.document if (!/UWP/.test(params.appType) && articleWindow && articleWindow.document && articleWindow.document.body) {