Merge branch 'bugfix-pause' of https://github.com/EverythingMe/reveal.js into dev

This commit is contained in:
Hakim El Hattab 2013-03-17 08:14:45 -04:00
commit a927b05967
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' );