summaryrefslogtreecommitdiff
path: root/scripts/theme.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-02-11 11:15:37 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-02-11 11:15:37 -0500
commit9afa0420b0d34d8484a71ae278e4dbd1630a035a (patch)
tree6e7a90d247ae89cd65caca71b2cbbaaceeff58ac /scripts/theme.js
parentaa92baae14882ccf38f311f71c64cc0a6205553e (diff)
Input and settings fixes
Diffstat (limited to 'scripts/theme.js')
-rw-r--r--scripts/theme.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/theme.js b/scripts/theme.js
index e93f5b5..627b833 100644
--- a/scripts/theme.js
+++ b/scripts/theme.js
@@ -19,7 +19,7 @@ class Theme{
static set(sheet)
{
Cookies.setYearCookie("theme", sheet);
- Theme.restore();
+ Theme.theme.setAttribute("href", sheet + "?v=" + Date.now());
}
}