From a1e8c8c06f5089b0545bbd5e25b5ac98646c4680 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 19 Feb 2024 15:47:45 -0500 Subject: [PATCH] AGAIN --- themes/red/assets/js/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/red/assets/js/site.js b/themes/red/assets/js/site.js index 26f121d..c732542 100644 --- a/themes/red/assets/js/site.js +++ b/themes/red/assets/js/site.js @@ -2,7 +2,7 @@ function checkWidth() { let navmenu = document.getElementById("nav-menu"); // If the device somehow gains the stick sidebar, make sure it's open - if (window.matchMedia('(max-device-width: 768px)').matches) { + if (!window.matchMedia('(max-device-width: 768px)').matches) { navmenu.open = true; } }