|
@ -43,19 +43,20 @@ $(function() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// SCRIPT MOBILE SIDEMENU HIDE
|
|
|
|
|
|
|
|
|
|
|
|
var x = window.matchMedia("(max-width: 768px)") |
|
|
|
|
|
|
|
|
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 { |
|
|
} else { |
|
|
element.classList.toggle(""); |
|
|
element.classList.toggle(""); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var x = window.matchMedia("(max-width: 768px)") |
|
|
|
|
|
fsidemobile(x) |
|
|
fsidemobile(x) |
|
|
x.addListener(fsidemobile) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function hideshowWelcome() { |
|
|
function hideshowWelcome() { |
|
|