Browse Source

limit scope of mathjax rerender #531

Hakim El Hattab 11 năm trước cách đây
mục cha
commit
9984cb1f21
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 );
 		} );
 
 	}