浏览代码

limit scope of mathjax rerender #531

Hakim El Hattab 10 年之前
父节点
当前提交
9984cb1f21
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );
 		} );
 
 	}