소스 검색

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 );
 		} );
 
 	}