From 83e4a1f0ac341acd83711b94b652ef401190c02c Mon Sep 17 00:00:00 2001 From: Michael Mahemoff Date: Fri, 27 Apr 2012 16:39:23 +0200 Subject: [PATCH] ignore metaKey modifier too --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {