From 3e6cecf9e1b991f5ca3cefd5f7b67b8c2439fab4 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Wed, 16 Jun 2021 02:18:56 +0500 Subject: [PATCH] Fix ? triggering the dialog in the editor --- static/shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/shortcuts.js b/static/shortcuts.js index 4eaedcd..0316f08 100644 --- a/static/shortcuts.js +++ b/static/shortcuts.js @@ -300,7 +300,7 @@ // Global shortcuts work everywhere. let globalShortcuts = new ShortcutHandler(document, false); - globalShortcuts.add('?, ' + (isMac ? 'Meta+/' : 'Ctrl+/'), openHelp); + globalShortcuts.add(isMac ? 'Meta+/' : 'Ctrl+/', openHelp); // Page shortcuts work everywhere except on text fields. let pageShortcuts = new ShortcutHandler(document, false, notTextField);