change event listener syntax #1917

This commit is contained in:
Hakim El Hattab 2017-06-12 09:17:46 +02:00
parent 5e279efdf3
commit 6ae4ad69d2

View File

@ -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 );