bugfix - continue autoslide after resume
authorAmir Nissim <amirn@everything.me>
Mon, 11 Mar 2013 10:46:02 +0000 (12:46 +0200)
committerAmir Nissim <amirn@everything.me>
Mon, 11 Mar 2013 10:46:02 +0000 (12:46 +0200)
js/reveal.js

index 8c4165d0469615f10c832497a28cef7f8bfb2061..e690e98025c1ee1b8b6d9416afa8786def795e83 100644 (file)
@@ -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' );