From: Michael Mahemoff Date: Fri, 27 Apr 2012 14:39:23 +0000 (+0200) Subject: ignore metaKey modifier too X-Git-Tag: 1.3.0~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83e4a1f0ac341acd83711b94b652ef401190c02c;p=reveal.js.git ignore metaKey modifier too --- diff --git a/js/reveal.js b/js/reveal.js index 7300ef7..4ba8a7b 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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 ) {