assets/themes/j1/adapter/js/themeToggler.js in j1-template-2023.4.1 vs assets/themes/j1/adapter/js/themeToggler.js in j1-template-2023.4.2

- old
+ new

@@ -93,9 +93,10 @@ var user_state = j1.readCookie(cookie_names.user_state); var viewport_width = $(window).width(); var url = new liteURL(window.location.href); var secure = (url.protocol.includes('https')) ? true : false; var cookie_names = j1.getCookieNames(); +var state = 'not_started'; var user_state = {}; var light_theme_css; var dark_theme_css; var light_theme_name; var dark_theme_name;