Merge branch 'bugfix-pause' of https://github.com/EverythingMe/reveal.js into dev
This commit is contained in:
commit
a927b05967
1 changed files with 1 additions and 1 deletions
|
@ -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' );
|
||||||
|
|
Loading…
Reference in a new issue