Rerender the page after selecting a locale (so error messages will be replaces). Probably should jsut rerender those equations with error messages to avoid delays.
This commit is contained in:
parent
f23cb8a6b2
commit
d6fe660948
|
@ -883,12 +883,11 @@
|
|||
};
|
||||
|
||||
/*
|
||||
* Handle selection of locale
|
||||
* Handle selection of locale and rerender the page
|
||||
*/
|
||||
MENU.Locale = function () {
|
||||
MathJax.Localization.setLocale(CONFIG.settings.locale);
|
||||
// FIXME: Rerender the page? (To force error messages to change?)
|
||||
// Just rerender error messages?
|
||||
MathJax.Hub.Queue(["Reprocess",MathJax.Hub]); // FIXME: Just reprocess error messages?
|
||||
};
|
||||
MENU.LoadLocale = function () {
|
||||
var url = prompt(_("LoadURL","Load translation data from this URL:"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user