Merge branch 'issue1896' of https://github.com/OleMussmann/reveal.js into dev

edit
Hakim El Hattab 2017-06-12 09:11:24 +02:00
commit 5e279efdf3
1 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,9 @@
}; };
// post once the page is loaded, so the client follows also on "open URL".
window.onload = post;
// Monitor events that trigger a change in state // Monitor events that trigger a change in state
Reveal.addEventListener( 'slidechanged', post ); Reveal.addEventListener( 'slidechanged', post );
Reveal.addEventListener( 'fragmentshown', post ); Reveal.addEventListener( 'fragmentshown', post );
@ -28,4 +31,4 @@
Reveal.addEventListener( 'paused', post ); Reveal.addEventListener( 'paused', post );
Reveal.addEventListener( 'resumed', post ); Reveal.addEventListener( 'resumed', post );
}()); }());