2
0
Эх сурвалжийг харах

Enabled to save with `⌘+S` on Mac

Yuki Takei 9 жил өмнө
parent
commit
65de07d02c

+ 1 - 0
CHANGES.md

@@ -3,6 +3,7 @@ CHANGES
 
 ## 1.2.9
 
+* Improvement: Enabled to save with <kbd>⌘+S</kbd> on Mac
 * Improvement: Adopt the fastest logger 'pino'
 
 ## 1.2.8

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

@@ -370,7 +370,7 @@ $(function() {
    * event handler when 'Ctrl-S' pressed
    */
   var handleSKey = function(event) {
-    if (!event.ctrlKey) {
+    if (!event.ctrlKey && !event.metaKey) {
       return;
     }