Explorar o código

apply ⌘ key to show shortcuts help

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
c822298530
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resource/js/legacy/crowi.js

+ 1 - 1
resource/js/legacy/crowi.js

@@ -972,7 +972,7 @@ window.addEventListener('keypress', (event) => {
     case 'c':
       Crowi.handleKeyCHandler(event);
     case '/':
-      if (event.ctrlKey) {
+      if (event.ctrlKey || event.metaKey) {
         Crowi.handleKeyCtrlSlashHandler(event);
       }
     break;