AGAIN
This commit is contained in:
parent
d02b9f0c74
commit
a1e8c8c06f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue