From b818e7579c62eb5b6bf8ef823adb92e91bfe8277 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 14 Jul 2023 18:32:26 +0100 Subject: [PATCH] Better explanation of effect of manual image display --- www/js/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www/js/app.js b/www/js/app.js index 26978b0a..1c34c588 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1414,10 +1414,8 @@ document.getElementById('navButtonsPosCheck').addEventListener('change', functio uiUtil.systemAlert('This setting will be applied on next app launch'); }); $('input:checkbox[name=imageDisplayMode]').on('change', function (e) { - if (params.contentInjectionMode === 'serviceworker' && !this.checked) { - uiUtil.systemAlert('Turning off image display is only guaranteed in JQuery mode. Some images may still display in ServiceWorker mode'); - // this.checked = true; - // return; + if (!this.checked) { + uiUtil.systemAlert('Please note that some images may still display if the ZIM type requires it (e.g. Zimit ZIMs, PhET, Gutenberg).'); } params.imageDisplay = this.checked; params.imageDisplayMode = this.checked ? 'progressive' : 'manual';