]> git.ipfire.org Git - ipfire.org.git/blobdiff - static/js/site.js
add spacing and menu on mobile
[ipfire.org.git] / static / js / site.js
index 2ef72a357b5a4d5d1da26ebc17c858e96d6366e4..baba203fbb60460e3148b5b834d80412400e9f7f 100644 (file)
@@ -2,8 +2,10 @@ $(document).ready(function () {
     $(window).scroll(function () {
         if ($(document).scrollTop() > 100) {
             $(".fixed-top").addClass("scrolled");
+            $(".menu-text").addClass("hidden");
         } else {
             $(".fixed-top").removeClass("scrolled");
+            $(".menu-text").removeClass("hidden");
         }
     });
 });