code cosmetics
This commit is contained in:
parent
abf9ddb588
commit
d182235f1f
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue