diff --git a/client/js/keybinds.ts b/client/js/keybinds.ts index c4736772..88ec48f7 100644 --- a/client/js/keybinds.ts +++ b/client/js/keybinds.ts @@ -113,13 +113,13 @@ Mousetrap.bind(["alt+a"], function (e) { }); // Show the help menu. -Mousetrap.bind(["alt+/"], async function (e) { +Mousetrap.bind(["alt+/"], function (e) { if (isIgnoredKeybind(e)) { return true; } - await navigate("Help"); - + /* eslint-disable no-console */ + navigate("Help").catch((err) => console.log(err)); return false; });