code cosmetics

This commit is contained in:
Hakim El Hattab 2013-02-03 01:31:27 -05:00
parent abf9ddb588
commit d182235f1f
2 changed files with 4 additions and 4 deletions

View file

@ -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

File diff suppressed because one or more lines are too long