aboutsummaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js')
-rw-r--r--static/js/themes.js4
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);
}
}