diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-16 18:56:59 -0300 |
---|---|---|
committer | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-16 18:56:59 -0300 |
commit | 9552ec24b1631032acbf1efbe21479ff44b29a63 (patch) | |
tree | 1ef3612a0063e3c8bc4293e5ba31dc50097f7c7e /static/js/themes.js | |
parent | c455494cd617d66bc28a30afb1fbd4377e0ecb01 (diff) |
= -> ==
Diffstat (limited to 'static/js/themes.js')
-rw-r--r-- | static/js/themes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/themes.js b/static/js/themes.js index 70a1b7f..0d9772f 100644 --- a/static/js/themes.js +++ b/static/js/themes.js @@ -11,8 +11,8 @@ function getCookie(key) { function setTheme(name) { for (let i = 0, tags = document.getElementsByTagName("link"); i < tags.length; i++) { - if (tags[i].type = "text/css" && tags[i].title) { - tags[i].disabled = !(tags[i].title == name); + if (tags[i].type === "text/css" && tags[i].title) { + tags[i].disabled = !(tags[i].title === name); } } |