Skip to content

Commit

Permalink
Merge branch 'MDL-43856-master-fix1' of https://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 9, 2014
2 parents 21fd238 + 16ad61b commit 1a19494
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ M.filter_mathjaxloader = M.filter_mathjaxloader || {
*/
_setLocale: function() {
if (!this._configured) {
MathJax.Localization.setLocale(this._lang);
var lang = this._lang;
MathJax.Hub.Queue(function () {
MathJax.Localization.setLocale(lang);
});
MathJax.Hub.Configured();
this._configured = true;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ M.filter_mathjaxloader = M.filter_mathjaxloader || {
*/
_setLocale: function() {
if (!this._configured) {
MathJax.Localization.setLocale(this._lang);
var lang = this._lang;
MathJax.Hub.Queue(function () {
MathJax.Localization.setLocale(lang);
});
MathJax.Hub.Configured();
this._configured = true;
}
Expand Down
5 changes: 4 additions & 1 deletion filter/mathjaxloader/yui/src/loader/js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ M.filter_mathjaxloader = M.filter_mathjaxloader || {
*/
_setLocale: function() {
if (!this._configured) {
MathJax.Localization.setLocale(this._lang);
var lang = this._lang;
MathJax.Hub.Queue(function () {
MathJax.Localization.setLocale(lang);
});
MathJax.Hub.Configured();
this._configured = true;
}
Expand Down

0 comments on commit 1a19494

Please sign in to comment.