@kupola/kupola 1.7.4 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/components-ext.css +2 -0
- package/dist/css/components-ext.css +2 -0
- package/dist/kupola.cjs.js +17 -17
- package/dist/kupola.cjs.js.map +1 -1
- package/dist/kupola.esm.js +785 -791
- package/dist/kupola.esm.js.map +1 -1
- package/dist/kupola.umd.js +22 -22
- package/dist/kupola.umd.js.map +1 -1
- package/js/theme.js +6 -6
- package/package.json +1 -1
package/js/theme.js
CHANGED
|
@@ -102,14 +102,14 @@ function initTheme() {
|
|
|
102
102
|
|
|
103
103
|
if (!_themeInitialized) {
|
|
104
104
|
_themeInitialized = true;
|
|
105
|
-
|
|
106
|
-
const savedTheme = getTheme();
|
|
107
|
-
setTheme(savedTheme);
|
|
108
|
-
|
|
109
|
-
const savedBrand = getBrand();
|
|
110
|
-
setBrand(savedBrand);
|
|
111
105
|
}
|
|
112
106
|
|
|
107
|
+
const savedTheme = getTheme();
|
|
108
|
+
setTheme(savedTheme);
|
|
109
|
+
|
|
110
|
+
const savedBrand = getBrand();
|
|
111
|
+
setBrand(savedBrand);
|
|
112
|
+
|
|
113
113
|
if (toggleBtn) {
|
|
114
114
|
updateThemeIcon(toggleBtn);
|
|
115
115
|
|
package/package.json
CHANGED