ignore metaKey modifier too
authorMichael Mahemoff <michael@mahemoff.com>
Fri, 27 Apr 2012 14:39:23 +0000 (16:39 +0200)
committerMichael Mahemoff <michael@mahemoff.com>
Fri, 27 Apr 2012 14:39:23 +0000 (16:39 +0200)
js/reveal.js

index 7300ef70ca3679ca9bd6d3ab4f402b639d921fe4..4ba8a7be181cc73ffadb446b340abf1c6ba75923 100644 (file)
@@ -156,7 +156,7 @@ var Reveal = (function(){
                // instead of checking contentEditable?
 
                if ( event.target.contentEditable != 'inherit' ||
-                       event.shiftKey || event.altKey || event.ctrlKey ) return;
+                       event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
                                
                var triggered = false;
                switch( event.keyCode ) {