Merge branch 'bugfix-pause' of https://github.com/EverythingMe/reveal.js into dev
commit
a927b05967
|
@ -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