File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
603
603
TEX . prefilterHooks . Add ( function ( data ) {
604
604
AMS . display = data . display ;
605
605
AMS . number = AMS . startNumber ; // reset equation numbers (in case the equation restarted)
606
- AMS . eqlabels = AMS . eqIDs = { } ; AMS . badref = false ;
606
+ AMS . eqlabels = { } ;
607
+ AMS . eqIDs = { } ;
608
+ AMS . badref = false ;
607
609
if ( AMS . refUpdate ) { AMS . number = data . script . MathJax . startNumber }
608
610
} ) ;
609
611
TEX . postfilterHooks . Add ( function ( data ) {
@@ -637,7 +639,10 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
637
639
//
638
640
TEX . resetEquationNumbers = function ( n , keepLabels ) {
639
641
AMS . startNumber = ( n || 0 ) ;
640
- if ( ! keepLabels ) { AMS . labels = AMS . IDs = { } }
642
+ if ( ! keepLabels ) {
643
+ AMS . labels = { } ;
644
+ AMS . IDs = { } ;
645
+ }
641
646
}
642
647
643
648
/******************************************************************************/
You can’t perform that action at this time.
0 commit comments