From: Hakim El Hattab Date: Mon, 12 Aug 2013 13:27:23 +0000 (-0400) Subject: limit scope of mathjax rerender #531 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9984cb1f2189b489afd7b05077c319fd123365af;p=reveal.js.git limit scope of mathjax rerender #531 --- diff --git a/plugin/math/math.js b/plugin/math/math.js index 3efe321..30dd38c 100755 --- a/plugin/math/math.js +++ b/plugin/math/math.js @@ -29,7 +29,7 @@ }); Reveal.addEventListener( 'slidechanged', function( event ) { - MathJax.Hub.Rerender(); + MathJax.Hub.Update( event.currentSlide ); } ); }