aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-05-20 08:53:25 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-05-20 08:53:25 +0200
commitc1ea5282e1f632a2e9cacc02be8bd4e7ab88dba1 (patch)
tree7f9f0ca21d1f818109633a57ba7c524a9fab95c6 /js
parent8c9c0ab0a64f32e8aa567009a82bac57464f4f93 (diff)
downloadfreenode-live-2017-presentation-c1ea5282e1f632a2e9cacc02be8bd4e7ab88dba1.tar
freenode-live-2017-presentation-c1ea5282e1f632a2e9cacc02be8bd4e7ab88dba1.tar.gz
fix data-autoplay on first slide
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 6097eea..d2a28c2 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1818,7 +1818,7 @@
}
// Handle embedded content
- if( slideChanged ) {
+ if( slideChanged || !previousSlide ) {
stopEmbeddedContent( previousSlide );
startEmbeddedContent( currentSlide );
}