aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-06-17 00:23:26 +0200
committerMango0x45 <thomasvoss@live.com> 2021-06-17 00:23:26 +0200
commitd88a87260b98308b0f591bf376d29db95bf2420a (patch)
tree3738781986fde5de3f287a47f60a78e71f49dd2c
parent7d200a05551ff614cc27e8b1547b3decf519ba9d (diff)
Fix remove titles setting
-rw-r--r--settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.js b/settings.js
index 29b85d4..5c20ec1 100644
--- a/settings.js
+++ b/settings.js
@@ -55,7 +55,7 @@ function remove_titles()
}
if (checked && !window.location.href.endsWith("settings.html"))
- for (let element of document.getElementsByTagName("h3"))
+ for (let element of document.getElementsByTagName("h2"))
element.classList.add("hidden");
localStorage.setItem("remove_titles", checked.toString());
}