various fixes

This commit is contained in:
Kyle
2021-01-08 17:50:21 -08:00
parent c4a9d37a22
commit 729f93f9d5
10 changed files with 96 additions and 22 deletions

View File

@@ -41,4 +41,7 @@ function resetTheme() {
theme = {huerotate:0, background:'/img/lowpolyBackground.svg', readablebrightness:0.3, rainbow:0};
localStorage.setItem('theme', JSON.stringify(theme));
updateCSS();
if (window.location.href.includes('/theme/')) {
resetThemeControls();
}
}