Skip to content
Snippets Groups Projects
Commit d182235f authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

code cosmetics

parent abf9ddb5
Branches
No related tags found
No related merge requests found
......@@ -1545,12 +1545,12 @@ var Reveal = (function(){
// Disregard the event if there's a focused element or a
// keyboard modifier key is present
if ( hasFocus || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
if( hasFocus || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
var triggered = true;
// while paused only allow "unpausing" keyboard events (b and .)
if (isPaused() && [66,190,191].indexOf(event.keyCode) === -1 ) {
if( isPaused() && [66,190,191].indexOf( event.keyCode ) === -1 ) {
return false;
}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment