Reveal.add/remveEventListener -> Reveal.on/off
This commit is contained in:
parent
f24620018f
commit
855cc82d76
17 changed files with 113 additions and 91 deletions
|
@ -76,7 +76,7 @@ var RevealMath = window.RevealMath || (function(){
|
|||
MathJax.Hub.Queue( Reveal.layout );
|
||||
|
||||
// Reprocess equations in slides when they turn visible
|
||||
Reveal.addEventListener( 'slidechanged', function( event ) {
|
||||
Reveal.on( 'slidechanged', function( event ) {
|
||||
|
||||
MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue