diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/theme.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/theme.js b/scripts/theme.js index 886a3a1..78f0149 100644 --- a/scripts/theme.js +++ b/scripts/theme.js @@ -40,6 +40,10 @@ class Theme{ Theme.theme.setAttribute("href", sheet + "?v=" + Date.now()); } + static get() { + return Cookies.getCookie("theme"); + } + static setUserThemes() { let out = ""; for (let i = 0; i < this.UserThemes[0].length; i++) |