Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924 Differential Revision: https://phabricator.services.mozilla.com/D6339
This commit is contained in:
@@ -865,7 +865,7 @@ XPCOMUtils.defineConstant(this, "PanelUI", PanelUI);
|
||||
* @return the selected locale
|
||||
*/
|
||||
function getLocale() {
|
||||
return Services.locale.getAppLocaleAsLangTag();
|
||||
return Services.locale.appLocaleAsLangTag;
|
||||
}
|
||||
|
||||
function getNotificationFromElement(aElement) {
|
||||
|
||||
Reference in New Issue
Block a user