From 8b2f96609d289f81dd5f7091da1f9f1a1c40b8bf Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Thu, 19 Sep 2019 15:21:45 +0200 Subject: [PATCH] fix: improve cross-platform consistency Co-authored-by: moT01 --- client/src/templates/Challenges/components/Hotkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/templates/Challenges/components/Hotkeys.js b/client/src/templates/Challenges/components/Hotkeys.js index 8196fb152d..ca49e156c6 100644 --- a/client/src/templates/Challenges/components/Hotkeys.js +++ b/client/src/templates/Challenges/components/Hotkeys.js @@ -4,7 +4,7 @@ import { HotKeys, GlobalHotKeys } from 'react-hotkeys'; import { navigate } from 'gatsby'; const keyMap = { - EXECUTE_CHALLENGE: 'ctrl+enter', + EXECUTE_CHALLENGE: ['ctrl+enter', 'cmd+enter'], NAVIGATE_PREV: ['ctrl+left', 'cmd+left'], NAVIGATE_NEXT: ['ctrl+right', 'cmd+right'] };