We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f27346d commit eacdb2dCopy full SHA for eacdb2d
1 file changed
script.js
@@ -3,13 +3,13 @@ const navbar = document.querySelector(".navbar");
3
const body = document.querySelector("body");
4
const linkContainer = document.getElementById("linkContainer");
5
6
-const ha = document.getElementById("ha");
7
-if (localStorage.getItem("openHA") == null) {
8
- ha.showModal();
9
- localStorage.setItem("openHA", true);
10
-} else {
11
- ha.close();
12
-}
+// const ha = document.getElementById("ha");
+// if (localStorage.getItem("openHA") == null) {
+// ha.showModal();
+// localStorage.setItem("openHA", true);
+// } else {
+// ha.close();
+// }
13
14
window.addEventListener("scroll", function () {
15
const scrollHeight = window.pageYOffset;
0 commit comments