Skip to content

Commit 8c3805f

Browse files
authored
Merge pull request #1898 from mathjax/locale_signal
Adds a signal for resetting the locale.
2 parents 63672ed + 9276979 commit 8c3805f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpacked/MathJax.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,6 +1554,7 @@ MathJax.Localization = {
15541554
}
15551555
var remap = this.strings[locale].remap;
15561556
this.locale = remap ? remap : locale;
1557+
MathJax.Callback.Signal("Hub").Post(["Locale Reset", this.locale]);
15571558
},
15581559

15591560
//

0 commit comments

Comments
 (0)