Skip to content

Commit

Permalink
ignore keydown if metaKey down
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanstephens committed Jan 18, 2016
1 parent d2291ca commit cc36cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/controller.cljs
Expand Up @@ -145,7 +145,7 @@

(defn handle-keydown [event]
(let [key-code (key-code event)]
(if (valid-key? key-code)
(if (and (valid-key? key-code) (not (.-metaKey event)))
(do
(.preventDefault event)
(keydown key-code)))))
Expand Down

0 comments on commit cc36cb2

Please sign in to comment.