ignore metaKey modifier too
This commit is contained in:
parent
75380e04a9
commit
83e4a1f0ac
@ -156,7 +156,7 @@ var Reveal = (function(){
|
|||||||
// instead of checking contentEditable?
|
// instead of checking contentEditable?
|
||||||
|
|
||||||
if ( event.target.contentEditable != 'inherit' ||
|
if ( event.target.contentEditable != 'inherit' ||
|
||||||
event.shiftKey || event.altKey || event.ctrlKey ) return;
|
event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
|
||||||
|
|
||||||
var triggered = false;
|
var triggered = false;
|
||||||
switch( event.keyCode ) {
|
switch( event.keyCode ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user