From 6ae4ad69d2152d83c02aae52d40c14b0223e42ce Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 12 Jun 2017 09:17:46 +0200 Subject: change event listener syntax #1917 --- plugin/multiplex/master.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') 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 ); -- cgit v1.2.3