diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-10-26 08:47:37 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-10-26 08:47:37 +0100 |
commit | 1cb52120ff0177e3908f384dc55f0b1d92d2a3c7 (patch) | |
tree | 5ee1476115e9e6d4df5cf0d89ef2f70e996b04e0 | |
parent | 34b82baa6724a336ede020b33e1bd002529def18 (diff) | |
download | fosdem-2018-presentation-1cb52120ff0177e3908f384dc55f0b1d92d2a3c7.tar fosdem-2018-presentation-1cb52120ff0177e3908f384dc55f0b1d92d2a3c7.tar.gz |
syntax error in postmessage example
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -682,7 +682,7 @@ When reveal.js runs inside of an iframe it can optionally bubble all of its even ```javascript window.addEventListener( 'message', function( event ) { var data = JSON.parse( event.data ); - if( data.namespace === 'reveal' && data.eventName ='slidechanged' ) { + if( data.namespace === 'reveal' && data.eventName ==='slidechanged' ) { // Slide changed, see data.state for slide number } } ); |