Преглед на файлове

patch to allow multiplexing on URL load

Ole Mussmann преди 7 години
родител
ревизия
b279a47a76
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      plugin/multiplex/master.js

+ 4 - 1
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 );
 
-}());
+}());