diff --git a/mobile/chrome/content/localePicker.js b/mobile/chrome/content/localePicker.js index d69f2ec012e..c10cdeabe29 100644 --- a/mobile/chrome/content/localePicker.js +++ b/mobile/chrome/content/localePicker.js @@ -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");