a4089fcc72
The one bit of JS we have for the mobile menu needed some tweaking. Signed-off-by: Matt Moyer <moyerm@vmware.com>
9 lines
322 B
JavaScript
9 lines
322 B
JavaScript
"use strict";
|
|
|
|
function mobileNavToggle() {
|
|
var menu = document.getElementById("mobile-menu").parentElement;
|
|
menu.classList.toggle('mobile-menu-visible');
|
|
}
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
document.getElementById('mobile-menu-button').addEventListener('click', mobileNavToggle);
|
|
}); |