Don't highlight empty strings (between each letter)
Change-Id: I6608c8954f415eeaa8a40da4a1c0e22638a9f860
This commit is contained in:
@@ -35,6 +35,9 @@ jQuery( function( $ ) {
|
||||
}
|
||||
|
||||
response( $.map( languages, function ( name, code ) {
|
||||
if ( term === "" ) {
|
||||
return { label: name, value: code };
|
||||
}
|
||||
if ( matcher.test( name ) ) {
|
||||
return {
|
||||
label: name.replace(
|
||||
|
||||
Reference in New Issue
Block a user