mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-12-02 14:48:06 +00:00
Show the links when no JS on mobile
This commit is contained in:
@@ -3,6 +3,8 @@ let wrapper = document.getElementsByClassName("top-bar__wrapper")[0],
|
||||
highlights = document.getElementsByClassName("top-bar__section_highlights")[0]
|
||||
|
||||
const toggleElement = el => el.classList.toggle("top-bar__section_hidden-on-mobile")
|
||||
toggleElement(auth)
|
||||
toggleElement(highlights)
|
||||
|
||||
let hamburger = document.createElement("button")
|
||||
hamburger.classList.add("top-bar__hamburger")
|
||||
|
||||
Reference in New Issue
Block a user