|
@ -513,8 +513,8 @@ var Reveal = (function(){ |
|
|
|
|
|
|
|
|
// Dispatch custom event
|
|
|
// Dispatch custom event
|
|
|
var event = document.createEvent( "HTMLEvents" ); |
|
|
var event = document.createEvent( "HTMLEvents" ); |
|
|
event.initEvent( state[i], false, true ); |
|
|
event.initEvent( state[i], true, true ); |
|
|
dom.wrapper.dispatchEvent( event ); |
|
|
document.dispatchEvent( event ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Clean up the remaints of the previous state
|
|
|
// Clean up the remaints of the previous state
|
|
|