Skip to content
Snippets Groups Projects
Commit 6ae4ad69 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

change event listener syntax #1917

parent 5e279efd
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment