diff --git a/index.html b/index.html
index cf08042..c08192f 100644
--- a/index.html
+++ b/index.html
@@ -804,13 +804,8 @@
Subscription Successful!
(function() {
let headerVisible = false;
document.getElementById(" menu").addEventListener("click", function () {
- if (headerVisible === false) {
- document.getElementById(" header").style.height = "290px";
- headerVisible = true;
- } else {
- document.getElementById(" header").style.height = "50px";
- headerVisible = false;
- }
+ document.getElementById("header").style.height = headerVisible ? "50px" : "280px";
+ headerVisible = !headerVisible;
});
// Show "Go to Top" button after scrolling down