bugfix - continue autoslide after resume
This commit is contained in:
parent
13046a0337
commit
5d26e1618f
|
@ -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 New Issue
Block a user