mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
Fix KaTeX in SW mode
Former-commit-id: c4ca7cc9cb199ce9ead5850b2ccf2a442742fc7e [formerly e5775b90387ba6a65b26e39e6908fd5e1a0ed21b [formerly 0c3538d84a2ba91c7ba9b2bc4f5debdacc26bf28]] Former-commit-id: 3a149b3ad4103b7ffdec1da63afc66afcbbb5f36 [formerly 8bcd5b6e398af9049e5d6da0dda1d30b056b6836] Former-commit-id: 00844c30b6e6e5bfa00d017d73b591db92bd36e3
This commit is contained in:
parent
8dea0585b1
commit
c60e804e01
@ -3815,7 +3815,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'cache', 'images
|
||||
if (params.windowOpener) setTimeout(function () {
|
||||
parseAnchorsJQuery(dirEntry);
|
||||
}, 1500);
|
||||
if (params.manipulateImages && /manual|progressive/.test(params.imageDisplayMode)) images.prepareImagesServiceWorker(articleWindow);
|
||||
if (params.zimType === 'open' && /manual|progressive/.test(params.imageDisplayMode)) images.prepareImagesServiceWorker(articleWindow);
|
||||
if (params.allowHTMLExtraction && appstate.target === 'iframe') {
|
||||
var determinedTheme = params.cssTheme == 'auto' ? cssUIThemeGetOrSet('auto') : params.cssTheme;
|
||||
uiUtil.insertBreakoutLink(determinedTheme);
|
||||
|
Loading…
x
Reference in New Issue
Block a user