2018-02-03 20:49:27 +00:00
|
|
|
document.documentElement.classList.remove("no-js");
|
|
|
|
document.documentElement.classList.add("js");
|
2018-02-05 22:17:52 +00:00
|
|
|
|
|
|
|
function closeMobileMenu(){
|
|
|
|
var menu = document.getElementById("show-menu");
|
|
|
|
menu.checked = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
var mobileLinks = document.getElementsByClassName("mobileLink");
|
|
|
|
for (var i = 0; i < mobileLinks.length; i++) {
|
|
|
|
mobileLinks[i].addEventListener('click', closeMobileMenu);
|
|
|
|
}
|