aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
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
+}());