summaryrefslogtreecommitdiff
path: root/scripts/theme.js
diff options
context:
space:
mode:
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());
}
}