aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-03-30 23:59:19 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-03-30 23:59:19 -0400
commit0d9a6419bb415524d36fb7870cb6949c8d35a8b7 (patch)
tree9a8c741a459479d7cc0c487288e72e6e71274f93 /js
parent8dc7ae85a1794f35d56caa943e1e384a45c478dd (diff)
downloadfosdem-2018-presentation-0d9a6419bb415524d36fb7870cb6949c8d35a8b7.tar
fosdem-2018-presentation-0d9a6419bb415524d36fb7870cb6949c8d35a8b7.tar.gz
change back state event scope, document level makes more sense as that's where the state class is applied
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index e35b8de..0fb4c61 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -513,8 +513,8 @@ var Reveal = (function(){
// Dispatch custom event
var event = document.createEvent( "HTMLEvents" );
- event.initEvent( state[i], false, true );
- dom.wrapper.dispatchEvent( event );
+ event.initEvent( state[i], true, true );
+ document.dispatchEvent( event );
}
// Clean up the remaints of the previous state