aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-06-12 09:11:24 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-06-12 09:11:24 +0200
commit5e279efdf326e6c262ce7f04b7933741b455053f (patch)
treeed9d2cdcf4d96afba30fb52c94710e7e3548026a /plugin
parent2961f009463108936c65c87217f29f0db5b856f5 (diff)
parentb279a47a76b90c0d37012c79f608d219e83672c9 (diff)
downloadfosdem-2018-presentation-5e279efdf326e6c262ce7f04b7933741b455053f.tar
fosdem-2018-presentation-5e279efdf326e6c262ce7f04b7933741b455053f.tar.gz
Merge branch 'issue1896' of https://github.com/OleMussmann/reveal.js into dev
Diffstat (limited to 'plugin')
-rw-r--r--plugin/multiplex/master.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js
index 4becad0..60d546b 100644
--- a/plugin/multiplex/master.js
+++ b/plugin/multiplex/master.js
@@ -19,6 +19,9 @@
};
+ // post once the page is loaded, so the client follows also on "open URL".
+ window.onload = post;
+
// Monitor events that trigger a change in state
Reveal.addEventListener( 'slidechanged', post );
Reveal.addEventListener( 'fragmentshown', post );
@@ -28,4 +31,4 @@
Reveal.addEventListener( 'paused', post );
Reveal.addEventListener( 'resumed', post );
-}()); \ No newline at end of file
+}());