diff --git a/fet2020/static/js/alpine-csp.js b/fet2020/static/js/alpine-csp.js index d939b807..0198771a 100644 --- a/fet2020/static/js/alpine-csp.js +++ b/fet2020/static/js/alpine-csp.js @@ -3210,7 +3210,7 @@ }, getShowNavBarLg() { if (screen.width >= 1024) { - return this.showNavBar = true; + this.showNavBar = true; } return this.showNavBar; } @@ -3224,7 +3224,7 @@ closeShowPopupNav() { this.showPopupNav = false; }, - getShowPopupNavLg() { + getNotShowPopupNavLg() { if (screen.width < 1024) { this.showPopupNav = true; } @@ -3234,6 +3234,7 @@ if (screen.width >= 1024) { return false; } + return true; } })); alpine_default.data("search", () => ({ diff --git a/fet2020/templates/base.html b/fet2020/templates/base.html index f2814f2d..8dddc657 100644 --- a/fet2020/templates/base.html +++ b/fet2020/templates/base.html @@ -109,7 +109,7 @@