Skip to content

Commit eacdb2d

Browse files
authored
disable HA modal
1 parent f27346d commit eacdb2d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

script.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ const navbar = document.querySelector(".navbar");
33
const body = document.querySelector("body");
44
const linkContainer = document.getElementById("linkContainer");
55

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-
}
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+
// }
1313

1414
window.addEventListener("scroll", function () {
1515
const scrollHeight = window.pageYOffset;

0 commit comments

Comments
 (0)