Revert check for PWA existence prior to passthrough #795 (#796)

This commit is contained in:
Jaifroid 2022-01-11 12:52:48 +00:00 committed by GitHub
parent 3ffd96dda1
commit d68a996ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -856,7 +856,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'settingsStore','abstractFilesys
var response;
if (settingsStore.getItem('allowInternetAccess') === 'true') {
if (PWASuccessfullyLaunched) {
checkPWAIsOnline();
launchPWA();
} else {
response = confirm('The last attempt to launch the PWA appears to have failed.\n\nDo you wish to try again?');
if (response) {