Show badges in ULS language list

Update jquery.uls to ae9dda23b71aa76fbbc13f5650

Bug: T131233
Change-Id: I7c7bafccc7d63c0a97c98b81a5b53b48c9afa527
This commit is contained in:
Niklas Laxström
2016-06-01 19:17:50 +02:00
committed by Santhosh Thottingal
parent 83f9596035
commit 2a6b4d0fc2
4 changed files with 37 additions and 23 deletions

File diff suppressed because one or more lines are too long

View File

@@ -273,13 +273,14 @@
// Not using jQuery as this is performance hotspot
li = document.createElement( 'li' );
li.title = name;
li.lang = code;
li.dir = $.uls.data.getDir( code );
li.setAttribute( 'data-code', code );
a = document.createElement( 'a' );
a.appendChild( document.createTextNode( autonym ) );
a.className = 'autonym';
a.lang = code;
a.dir = $.uls.data.getDir( code );
li.appendChild( a );
if ( this.options.languageDecorator ) {