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) { function fsidemobile(x) {
if (x.matches) { // If media query matches if (x.matches) { // If media query matches
var element = document.getElementById("side"); var element = document.getElementById("side");
element.classList.toggle("sideminclicked"); element.classList.toggle("sideminclicked");
} else {
element.classList.toggle("");
} }
// else {
// element.classList.toggle("");
// }
} }
fsidemobile(x) fsidemobile(x)

Loading…
Cancel
Save