aboutsummaryrefslogtreecommitdiff
path: root/plugin/multiplex/master.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/multiplex/master.js')
-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..7f4bf45 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.addEventListener( 'load', 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
+}());