Always use autonyms for search results
Change-Id: Iacbaa78c9f66b0c754ac9faf9bb2752f95b35693
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
// Autofill the first result.
|
||||
that.autofill( code, name );
|
||||
}
|
||||
that.render( code, name );
|
||||
that.render( code );
|
||||
that.resultCount++;
|
||||
} );
|
||||
that.resultHandler( query );
|
||||
@@ -178,12 +178,12 @@
|
||||
this.$suggestion.val( suggestion );
|
||||
},
|
||||
|
||||
render: function( langCode, languageName ) {
|
||||
render: function( langCode ) {
|
||||
var $target = this.options.$target;
|
||||
if ( !$target ) {
|
||||
return;
|
||||
}
|
||||
$target.append( langCode, null, languageName );
|
||||
$target.append( langCode, null );
|
||||
},
|
||||
|
||||
escapeRegex: function( value ) {
|
||||
|
||||
Reference in New Issue
Block a user