Meta key ignored on global focus for OSX
authorDarren <darren@darrenwhitlen.com>
Sat, 27 Oct 2012 22:11:04 +0000 (23:11 +0100)
committerDarren <darren@darrenwhitlen.com>
Sat, 27 Oct 2012 22:11:04 +0000 (23:11 +0100)
client/assets/dev/view.js

index e00421dedca47807c838b364fae6aef6a5a6252e..d140cb3feca8cfb71605996b627a263fa8b5bcf1 100644 (file)
@@ -921,7 +921,7 @@ kiwi.view.Application = Backbone.View.extend({
     // Globally shift focus to the command input box on a keypress\r
     setKeyFocus: function (ev) {\r
         // If we're copying text, don't shift focus\r
-        if (ev.ctrlKey || ev.altKey) {\r
+        if (ev.ctrlKey || ev.altKey || ev.metaKey) {\r
             return;\r
         }\r
 \r