From 06e743c47a9cb2c656fb38c5709d13534bc521c0 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sun, 13 Jun 2021 18:06:19 +0100 Subject: [PATCH] Prevent critical bug which fails to unhide article in jQuery mode on slow systems Former-commit-id: f5b0b6e2caad7b8a66b2a4b3353a19a765d2ebf9 [formerly c0b61e2bdcfd765cbb34d2121adb6e17babad5ba [formerly 2ca97f551075051ed091771b7351355e206385d1]] Former-commit-id: d8c899bc580af5fd1a860aab2cb690137b992afb Former-commit-id: 8431d8902c0356a0799cf5ba932b388a3e63cb83 --- www/js/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/js/app.js b/www/js/app.js index 54ab5775..a3a16f8f 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -3829,9 +3829,8 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett setTimeout(function() { articleDocument.bgcolor = ""; articleDocument.hidden = false; - // articleContainer.hidden = false; articleWindow.document.body.hidden = false; - }, 400); + }, 0); };