diff options
author | Ole Mussmann <ole@isbjorngames.com> | 2017-06-06 10:36:40 +0200 |
---|---|---|
committer | Ole Mussmann <ole@isbjorngames.com> | 2017-06-06 10:36:40 +0200 |
commit | b279a47a76b90c0d37012c79f608d219e83672c9 (patch) | |
tree | 06f17a6d8b1918687005438ebebb18a6f39daa6d /plugin | |
parent | 360bc940062711db9b8020ce4e848f6c37014481 (diff) | |
download | fosdem-2018-presentation-b279a47a76b90c0d37012c79f608d219e83672c9.tar fosdem-2018-presentation-b279a47a76b90c0d37012c79f608d219e83672c9.tar.gz |
patch to allow multiplexing on URL load
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/multiplex/master.js | 5 |
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 +}()); |