From 9552ec24b1631032acbf1efbe21479ff44b29a63 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Mon, 16 Aug 2021 18:56:59 -0300 Subject: = -> == --- static/js/themes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static') 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); } } -- cgit v1.2.3