diff --git a/www/js/init.js b/www/js/init.js index 8f4aa7cb..4f1b8703 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -43,8 +43,8 @@ params['cssSource'] = getCookie('cssSource') || "auto"; //Set default to "auto", params['removePageMaxWidth'] = getCookie('removePageMaxWidth') != null ? getCookie('removePageMaxWidth') : "auto"; //Set default for removing max-width restriction on Wikimedia pages ("auto" = removed in desktop, not in mobile; true = always remove; false = never remove) params['openAllSections'] = getCookie('openAllSections') != null ? getCookie('openAllSections') : true; //Set default for opening all sections in ZIMs that have collapsible sections and headings ("auto" = let CSS decide according to screen width; true = always open until clicked by user; false = always closed until clicked by user) params['cssCache'] = getCookie('cssCache') != null ? getCookie('cssCache') : true; //Set default to true to use cached CSS, false to use Zim only -params['cssTheme'] = getCookie('cssTheme') || 'auto'; //Set default to 'auto', 'light', 'dark' or 'invert' to use respective themes for articles -params['cssUITheme'] = getCookie('cssUITheme') || 'auto'; //Set default to 'auto', 'light' or 'dark' to use respective themes for UI +params['cssTheme'] = getCookie('cssTheme') || 'light'; //Set default to 'auto', 'light', 'dark' or 'invert' to use respective themes for articles +params['cssUITheme'] = getCookie('cssUITheme') || 'light'; //Set default to 'auto', 'light' or 'dark' to use respective themes for UI params['imageDisplay'] = getCookie('imageDisplay') != null ? getCookie('imageDisplay') : true; //Set default to display images from Zim params['hideToolbar'] = getCookie('hideToolbar') != null ? getCookie('hideToolbar') : false; //Set default to hide the top toolbar on scroll params['rememberLastPage'] = getCookie('rememberLastPage') != null ? getCookie('rememberLastPage') : true; //Set default option to remember the last visited page between sessions