diff --git a/src/js/01-nav.js b/src/js/01-nav.js index 6b49762f..128ce60f 100644 --- a/src/js/01-nav.js +++ b/src/js/01-nav.js @@ -133,7 +133,7 @@ function showNav (e) { if (navToggle.classList.contains('is-active')) return hideNav(e) - var html = document.documentElement + var html = document.documentElement.querySelector('main.article') html.classList.add('is-clipped--nav') navToggle.classList.add('is-active') navContainer.classList.add('is-active')