Cleanup bindMenuEvents
Suggested bu @Vasily
This commit is contained in:
parent
91b7161993
commit
4f6102d68e
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||
}
|
||||
|
||||
function bindMenuEvents() {
|
||||
if (mainDrawerButton = document.querySelector(".mainDrawerButton")) {
|
||||
mainDrawerButton = document.querySelector(".mainDrawerButton");
|
||||
if (mainDrawerButton) {
|
||||
mainDrawerButton.addEventListener("click", toggleMainDrawer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue