mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-08-04 03:48:41 -04:00
parent
54d7993272
commit
fe37a7c69d
@ -4217,7 +4217,7 @@ function archiveReadyCallback (archive) {
|
|||||||
params.assetsCache = settingsStore.getItem('assetsCache') !== 'false';
|
params.assetsCache = settingsStore.getItem('assetsCache') !== 'false';
|
||||||
params.imageDisplayMode = params.imageDisplay ? 'progressive' : 'manual';
|
params.imageDisplayMode = params.imageDisplay ? 'progressive' : 'manual';
|
||||||
// These ZIM types have so much dynamic content that we have to allow all images
|
// These ZIM types have so much dynamic content that we have to allow all images
|
||||||
if (/gutenberg|phet/i.test(archive.file.name) ||
|
if (/gutenberg|phet|ted_/i.test(archive.file.name) ||
|
||||||
// params.isLandingPage ||
|
// params.isLandingPage ||
|
||||||
/kolibri/i.test(archive.creator) ||
|
/kolibri/i.test(archive.creator) ||
|
||||||
archive.zimType !== 'open') {
|
archive.zimType !== 'open') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user