diff --git a/views/honkpage.js b/views/honkpage.js index 3f29067..8270149 100644 --- a/views/honkpage.js +++ b/views/honkpage.js @@ -465,8 +465,12 @@ function hotkey(e) { break; case "KeyM": var menu = document.getElementById("topmenu") - menu.open = true - menu.querySelector("a").focus() + if (!menu.open) { + menu.open = true + menu.querySelector("a").focus() + } else { + menu.open = false + } break case "Escape": var menu = document.getElementById("topmenu")