naming/comment tweak
This commit is contained in:
parent
9421541825
commit
6215b12f6e
|
@ -2698,8 +2698,9 @@ var Reveal = (function(){
|
||||||
*/
|
*/
|
||||||
function onDocumentKeyDown( event ) {
|
function onDocumentKeyDown( event ) {
|
||||||
|
|
||||||
// store auto slide value to be able to toggle auto sliding
|
// Remember if auto-sliding was paused so we can toggle it
|
||||||
var currentAutoSlideValue = autoSlidePaused;
|
var autoSlideWasPaused = autoSlidePaused;
|
||||||
|
|
||||||
onUserInput( event );
|
onUserInput( event );
|
||||||
|
|
||||||
// Check if there's a focused element that could be using
|
// Check if there's a focused element that could be using
|
||||||
|
@ -2777,7 +2778,7 @@ var Reveal = (function(){
|
||||||
// f
|
// f
|
||||||
case 70: enterFullscreen(); break;
|
case 70: enterFullscreen(); break;
|
||||||
// a
|
// a
|
||||||
case 65: if ( config.autoSlideStoppable ) toggleAutoSlide( currentAutoSlideValue ); break;
|
case 65: if ( config.autoSlideStoppable ) toggleAutoSlide( autoSlideWasPaused ); break;
|
||||||
default:
|
default:
|
||||||
triggered = false;
|
triggered = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* reveal.js 2.6.1 (2013-12-21, 17:53)
|
* reveal.js 2.6.1 (2013-12-21, 18:11)
|
||||||
* http://lab.hakim.se/reveal-js
|
* http://lab.hakim.se/reveal-js
|
||||||
* MIT licensed
|
* MIT licensed
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue