Commit 6ae4ad69 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

change event listener syntax #1917

parent 5e279efd
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment