From: Amir Nissim Date: Mon, 11 Mar 2013 10:46:02 +0000 (+0200) Subject: bugfix - continue autoslide after resume X-Git-Tag: 2.4.0~66^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d26e1618f8133c5ec5730cfb72f9710bfeece98;p=reveal.js.git bugfix - continue autoslide after resume --- diff --git a/js/reveal.js b/js/reveal.js index 8c4165d..e690e98 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -977,9 +977,9 @@ var Reveal = (function(){ function resume() { var wasPaused = dom.wrapper.classList.contains( 'paused' ); + dom.wrapper.classList.remove( 'paused' ); cueAutoSlide(); - dom.wrapper.classList.remove( 'paused' ); if( wasPaused ) { dispatchEvent( 'resumed' );