From dd38a01d5acf82e7fe6e75bc9ac9d03153246dad Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 8 Jul 2024 19:18:38 +0530 Subject: [PATCH] fix: dark mode logo --- wiki/public/js/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/public/js/wiki.js b/wiki/public/js/wiki.js index f3ac9996..d8d48ecb 100644 --- a/wiki/public/js/wiki.js +++ b/wiki/public/js/wiki.js @@ -84,8 +84,8 @@ window.Wiki = class Wiki { $("body").toggleClass("dark"); - localStorage.setItem("darkMode", $("body").hasClass("dark")); }); + localStorage.setItem("darkMode", $("body").hasClass("dark")); } add_link_to_headings() {