Merge "Apply toLowerCase when reading featured articles"

This commit is contained in:
jenkins-bot
2016-08-22 05:09:43 +00:00
committed by Gerrit Code Review

View File

@@ -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();
}; };