aboutsummaryrefslogtreecommitdiff
path: root/plugin/multiplex
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-06-12 09:17:46 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-06-12 09:17:46 +0200
commit6ae4ad69d2152d83c02aae52d40c14b0223e42ce (patch)
treef21eaba2a4dbe2ceb1c51b116160c49b1b5728fe /plugin/multiplex
parent5e279efdf326e6c262ce7f04b7933741b455053f (diff)
downloadperl-software-in-gnu-guix-6ae4ad69d2152d83c02aae52d40c14b0223e42ce.tar
perl-software-in-gnu-guix-6ae4ad69d2152d83c02aae52d40c14b0223e42ce.tar.gz
change event listener syntax #1917
Diffstat (limited to 'plugin/multiplex')
-rw-r--r--plugin/multiplex/master.js2
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 );