change back state event scope, document level makes more sense as that's where the state class is applied
This commit is contained in:
parent
8dc7ae85a1
commit
0d9a6419bb
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue