Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/01-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') || document.documentElement.querySelector('article') || document.documentElement
html.classList.add('is-clipped--nav')
navToggle.classList.add('is-active')
navContainer.classList.add('is-active')
Expand Down