Reveal.add/remveEventListener -> Reveal.on/off
This commit is contained in:
1 parent
f24620018f
commit
855cc82d76
17 files changed
+113
-91
No files matched your search
+1
-1
@@ -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 ] );
|
||||
|
||||
|
||||
Reference in new issue
Block a user