limit scope of mathjax rerender #531
authorHakim El Hattab <hakim.elhattab@gmail.com>
Mon, 12 Aug 2013 13:27:23 +0000 (09:27 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Mon, 12 Aug 2013 13:27:23 +0000 (09:27 -0400)
plugin/math/math.js

index 3efe321ffe608fdf76d703e163987d8e27785ff2..30dd38c6c08689b88cf54378631ba2d4b25eac0b 100755 (executable)
@@ -29,7 +29,7 @@
                });
 
                Reveal.addEventListener( 'slidechanged', function( event ) {
-                       MathJax.Hub.Rerender();
+                       MathJax.Hub.Update( event.currentSlide );
                } );
 
        }