Update jquery.uls from upstream
Return an empty array if there are no languages in territory.
Addresses T265158.
Updating to
9a1f5c0e5a
Bug: T265158
Change-Id: I36f69a2007791a4469eff6415eedbaecc3f60f70
This commit is contained in:
@@ -282,7 +282,7 @@
|
||||
* @return {string[]} list of language codes
|
||||
*/
|
||||
$.uls.data.getLanguagesInTerritory = function ( territory ) {
|
||||
return $.uls.data.territories[ territory ];
|
||||
return $.uls.data.territories[ territory ] || [];
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user