List the languages in Worldwide in their respective regions too

Fix for https://phabricator.wikimedia.org/T137868
This was a wrong solution for https://phabricator.wikimedia.org/T41921

Change-Id: Ib920e75fca71716d14aecd25c163f0c1e8e63270
This commit is contained in:
Santhosh Thottingal
2016-07-20 09:55:24 +05:30
parent 008a9f67ce
commit bb4d96c33a

View File

@@ -94,11 +94,6 @@
}
}
// Worldwides only displayed once
if ( $.inArray( 'WW', regions ) > -1 ) {
regions = [ 'WW' ];
}
for ( i = 0; i < regions.length; i++ ) {
this.regionLanguages[ regions[ i ] ].push( langCode );
}