Browse Source

added CMD-key support for OS X

Michael 10 years ago
parent
commit
fbf26af20e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/allplatforms/classes/Keyboard.js

+ 1 - 1
src/allplatforms/classes/Keyboard.js

@@ -93,7 +93,7 @@ SC.loadPackage({ 'Keyboard': {
 
 
                 var relevant  = true;
                 var relevant  = true;
 
 
-                if(evt.ctrlKey){
+                if(evt.ctrlKey || evt.metaKey){
 
 
 
 
                     switch(evt.keyCode){
                     switch(evt.keyCode){