diff --git a/data/shortcuts.json b/data/shortcuts.json index 5097a8965..7f6bbe700 100644 --- a/data/shortcuts.json +++ b/data/shortcuts.json @@ -41,7 +41,7 @@ "text": "shortcuts.browsing.help.help" }, { - "shortcuts": ["shortcuts.toggle.key"], + "shortcuts": ["shortcuts.toggle.key", "?"], "text": "shortcuts.browsing.help.keyboard" }, { diff --git a/modules/ui/shortcuts.js b/modules/ui/shortcuts.js index e9d95cb87..252375c4b 100644 --- a/modules/ui/shortcuts.js +++ b/modules/ui/shortcuts.js @@ -21,7 +21,7 @@ export function uiShortcuts(context) { context.keybinding() - .on(t('shortcuts.toggle.key'), function () { + .on([t('shortcuts.toggle.key'), '?'], function () { if (d3_selectAll('.modal-shortcuts').size()) { // already showing if (_modalSelection) { _modalSelection.close();