Show badges in ULS language list
Update jquery.uls to ae9dda23b71aa76fbbc13f5650 Bug: T131233 Change-Id: I7c7bafccc7d63c0a97c98b81a5b53b48c9afa527
This commit is contained in:
committed by
Santhosh Thottingal
parent
83f9596035
commit
2a6b4d0fc2
File diff suppressed because one or more lines are too long
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user