From 6d0f3894640d024ee0d1194f7a608b7244b48989 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sat, 10 Oct 2020 13:03:42 +0100 Subject: [PATCH] Fix bug where new PWA users cannot select archiv Former-commit-id: cb77375827d4945684b01be3dbcfa30fb950815a [formerly 0fbc23b9998cea6e51b6eaf562b4bb91ad698765 [formerly cf5b98a4cafdee847a78a04859956374e8b067d9]] Former-commit-id: e5d3c787627338fc25e237e8309c7fe74ab75767 Former-commit-id: a522b865bfb29ac30793772f9996dda89a9409d4 --- 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 b90a9a99..c9ff8fbd 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -810,11 +810,11 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'cook document.getElementById('archiveFiles').style.display = "none"; document.getElementById('UWPInstructions').style.display = "none"; document.getElementById('archivesFound').style.display = "none"; - document.getElementById('chooseArchiveFromLocalStorage').style.display = "block"; document.getElementById('instructions').style.display = "block"; document.getElementById('archiveFilesLegacy').style.display = "inline"; document.getElementById('archiveFilesLegacy').addEventListener('change', setLocalArchiveFromFileSelect); } + document.getElementById('chooseArchiveFromLocalStorage').style.display = "block"; // If user had previously picked a file using Native FS, offer to re-open if (typeof window.showOpenFilePicker !== 'undefined' && !(params.pickedFile || params.pickedFolder)) { getNativeFSHandle();