Explorar el Código

limit scope of mathjax rerender #531

Hakim El Hattab hace 10 años
padre
commit
9984cb1f21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugin/math/math.js

+ 1 - 1
plugin/math/math.js

@@ -29,7 +29,7 @@
 		});
 
 		Reveal.addEventListener( 'slidechanged', function( event ) {
-			MathJax.Hub.Rerender();
+			MathJax.Hub.Update( event.currentSlide );
 		} );
 
 	}