bugfix - continue autoslide after resume

edit
Amir Nissim 2013-03-11 12:46:02 +02:00
parent 13046a0337
commit 5d26e1618f
1 changed files with 1 additions and 1 deletions

View File

@ -977,9 +977,9 @@ var Reveal = (function(){
function resume() { function resume() {
var wasPaused = dom.wrapper.classList.contains( 'paused' ); var wasPaused = dom.wrapper.classList.contains( 'paused' );
dom.wrapper.classList.remove( 'paused' );
cueAutoSlide(); cueAutoSlide();
dom.wrapper.classList.remove( 'paused' );
if( wasPaused ) { if( wasPaused ) {
dispatchEvent( 'resumed' ); dispatchEvent( 'resumed' );