diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-06-12 09:17:46 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-06-12 09:17:46 +0200 |
commit | 6ae4ad69d2152d83c02aae52d40c14b0223e42ce (patch) | |
tree | f21eaba2a4dbe2ceb1c51b116160c49b1b5728fe | |
parent | 5e279efdf326e6c262ce7f04b7933741b455053f (diff) | |
download | fosdem-2018-presentation-6ae4ad69d2152d83c02aae52d40c14b0223e42ce.tar fosdem-2018-presentation-6ae4ad69d2152d83c02aae52d40c14b0223e42ce.tar.gz |
change event listener syntax #1917
-rw-r--r-- | plugin/multiplex/master.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js index 60d546b..7f4bf45 100644 --- a/plugin/multiplex/master.js +++ b/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 ); |