mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 664285 - Fallback to default locale if we can't find a matching one. r=mfinkle
This commit is contained in:
parent
857b726b39
commit
71b62855ac
@ -346,7 +346,7 @@ function start() {
|
||||
}
|
||||
}
|
||||
|
||||
if (matchingLocale != chrome.getSelectedLocale("browser"))
|
||||
if (matchingLocale && matchingLocale != chrome.getSelectedLocale("browser"))
|
||||
LocaleUI.language = matchingLocale;
|
||||
else {
|
||||
LocaleUI._language = chrome.getSelectedLocale("browser");
|
||||
|
Loading…
Reference in New Issue
Block a user