Fix broken hamburger menu

This commit is contained in:
Sparky 2019-01-19 12:24:10 -05:00
parent d090ac8d72
commit 036cf6ef95

View File

@ -104,9 +104,7 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
}
function bindMenuEvents() {
var mainDrawerButton = document.querySelector(".mainDrawerButton");
if (mainDrawerButton) {
if (mainDrawerButton = document.querySelector(".mainDrawerButton")) {
mainDrawerButton.addEventListener("click", toggleMainDrawer);
}