change event listener syntax #1917

main
Hakim El Hattab 6 years ago
parent 5e279efdf3
commit 6ae4ad69d2
  1. 2
      plugin/multiplex/master.js

@ -20,7 +20,7 @@
};
// post once the page is loaded, so the client follows also on "open URL".
window.onload = post;
window.addEventListener( 'load', post );
// Monitor events that trigger a change in state
Reveal.addEventListener( 'slidechanged', post );

Loading…
Cancel
Save