Removed logs

This commit is contained in:
ポール ウェッブ 2019-03-19 17:47:37 -05:00
parent 2cb606716c
commit 048cc20474

View file

@ -193,15 +193,10 @@
<a href="#" class="header__toggle" id="menuToggle">Menu</a> <a href="#" class="header__toggle" id="menuToggle">Menu</a>
<?php js_start() ?> <?php js_start() ?>
if (window.innerWidth < 951) {
console.log("yep");
}
document.getElementById("menuToggle").addEventListener("click", event => { document.getElementById("menuToggle").addEventListener("click", event => {
event.preventDefault(); event.preventDefault();
if (window.innerWidth < 951) { if (window.innerWidth < 951) {
console.log("yep");
const body = document.querySelector("body"); const body = document.querySelector("body");
const navigation = document.querySelector("drawer-navigation"); const navigation = document.querySelector("drawer-navigation");