Skip to content

Commit

Permalink
Fix timing problem with languge menu when using combined configuratio…
Browse files Browse the repository at this point in the history
…n files
  • Loading branch information
dpvc committed May 3, 2013
1 parent e238200 commit 2f8844a
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion MathJax.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/AM_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/AM_HTMLorMML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/Accessible-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/Accessible.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/MML_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/MML_HTMLorMML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_HTMLorMML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_SVG-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS-MML_SVG.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS_HTML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-AMS_HTML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-MML-AM_HTMLorMML-full.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/TeX-MML-AM_HTMLorMML.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/MathMenu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion unpacked/MathJax.js
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ MathJax.Localization = {
data = data.domains[domain];
}
MathJax.Hub.Insert(data,definition);
if (isNew && MathJax.Menu) {MathJax.Menu.CreateLocaleMenu()}
if (isNew && MathJax.Menu.menu) {MathJax.Menu.CreateLocaleMenu()}
},

//
Expand Down
1 change: 1 addition & 0 deletions unpacked/extensions/MathMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@
// Creates the locale menu from the list of locales in MathJax.Localization.strings
//
MENU.CreateLocaleMenu = function () {
if (!MENU.menu) return;
var menu = MENU.menu.Find("Language").menu, items = menu.items;
//
// Get the names of the languages and sort them
Expand Down

0 comments on commit 2f8844a

Please sign in to comment.