Browse Source

debuged an error on line 55

master
mb 2 years ago
parent
commit
7ce747ec16
  1. 9
      narrowscripts.js

9
narrowscripts.js

@ -49,11 +49,12 @@ $(function() {
function fsidemobile(x) {
if (x.matches) { // If media query matches
var element = document.getElementById("side");
element.classList.toggle("sideminclicked");
} else {
element.classList.toggle("");
var element = document.getElementById("side");
element.classList.toggle("sideminclicked");
}
// else {
// element.classList.toggle("");
// }
}
fsidemobile(x)

Loading…
Cancel
Save