Update app.js

Former-commit-id: 5929a1370271cac4cd75d75074578f5eb2729c3f [formerly b1ff779403eda12027ee159caf88d54f1769b439] [formerly 5dbdfb7befe4954b43cda9dca7d24ba914c216fc] [formerly e1f1eea45fd01033f086d25039bd45325f9b55f5 [formerly f11efd1eb801eea417ce3c497c54c9b243d0698b [formerly 624343438bf46da395080dd0ecb0a339084a6e7c]]]
Former-commit-id: b2f729322bb63b410b3afbbef5032860316ed048 [formerly 409833386b22b84a90368d791ff38c2e1b8afd88 [formerly 99e641c6fa35eaa5ef73fbdbbabf408a35850a88]]
Former-commit-id: 3a479efa73a9f82c5a8f10e494ed0f74fa950993 [formerly 033127bd454664ca0d14e286753105a2ad8275a1]
Former-commit-id: 6e5c9b3653476f8850e1f8c377c5d1ac463bf747
This commit is contained in:
Jaifroid 2021-09-04 17:12:52 +01:00
parent a76e09db4f
commit 6f4639dcf9

View File

@ -1087,7 +1087,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
if (this.value === 'serviceworker') {
if (params.manipulateImages) document.getElementById('manipulateImagesCheck').click();
if (params.allowHTMLExtraction) document.getElementById('allowHTMLExtractionCheck').click();
if (!window.location.protocol === 'ms-appx-web:') uiUtil.systemAlert(
if (window.location.protocol !== 'ms-appx-web:') uiUtil.systemAlert(
'Please note that we have disabled Image manipulation and/or Breakout link as these options can interfere with ZIMs that have active content. You may turn them back on, but be aware that they are only recommended for use with Wikimedia ZIMs.'
);
}