Merge "Apply toLowerCase when reading featured articles"
This commit is contained in:
@@ -378,7 +378,7 @@
|
|||||||
*/
|
*/
|
||||||
CompactInterlanguageList.prototype.filterByBadges = function () {
|
CompactInterlanguageList.prototype.filterByBadges = function () {
|
||||||
return $( '#p-lang' ).find( '[class*="badge"]' ).map( function ( i, el ) {
|
return $( '#p-lang' ).find( '[class*="badge"]' ).map( function ( i, el ) {
|
||||||
return $( el ).find( 'a' ).attr( 'lang' ); }
|
return $( el ).find( 'a' ).attr( 'lang' ).toLowerCase(); }
|
||||||
).toArray();
|
).toArray();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user