patch to allow multiplexing on URL load

This commit is contained in:
Ole Mussmann 2017-06-06 10:36:40 +02:00
parent 360bc94006
commit b279a47a76

View File

@ -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 );