diff --git a/www/js/init.js b/www/js/init.js index 7b3b394c..614ab32b 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -108,7 +108,7 @@ params['linkToWikimediaImageFile'] = getSetting('linkToWikimediaImageFile') == t params['hideToolbars'] = getSetting('hideToolbars') != null ? getSetting('hideToolbars') : true; // Set default to true (hides both), 'top' (hides top only), or false (no hiding) params['rememberLastPage'] = getSetting('rememberLastPage') != null ? getSetting('rememberLastPage') : true; // Set default option to remember the last visited page between sessions params['showPopoverPreviews'] = getSetting('showPopoverPreviews') !== false; // Allows popover previews of articles for Wikimedia ZIMs (defaults to true) -params['assetsCache'] = getSetting('appCache') !== false; // Whether to use cache by default or not +params['assetsCache'] = getSetting('appCache') !== false; // Whether to use cache by default or not (as the setting is temporary, we set it according to the appCache to avoid issues for developers) params['appCache'] = getSetting('appCache') !== false; // Will be true by default unless explicitly set to false params['useMathJax'] = getSetting('useMathJax') != null ? getSetting('useMathJax') : true; // Set default to true to display math formulae with MathJax, false to use fallback SVG images only // params['showFileSelectors'] = getCookie('showFileSelectors') != null ? getCookie('showFileSelectors') : false; //Set to true to display hidden file selectors in packaged apps diff --git a/www/js/lib/kiwixServe.js b/www/js/lib/kiwixServe.js index 7425755c..ee24d7b2 100644 --- a/www/js/lib/kiwixServe.js +++ b/www/js/lib/kiwixServe.js @@ -703,12 +703,12 @@ function requestXhttpData (URL, lang, subj, kiwixDate) { // Remove unused README file doc = doc.replace(/^