From b279a47a76b90c0d37012c79f608d219e83672c9 Mon Sep 17 00:00:00 2001 From: Ole Mussmann Date: Tue, 6 Jun 2017 10:36:40 +0200 Subject: [PATCH] patch to allow multiplexing on URL load --- plugin/multiplex/master.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js index 4becad0d..60d546b0 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 +}());