improve highlighting in single selects
This commit is contained in:
parent
29129008d5
commit
7c729555e5
@ -2133,7 +2133,11 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
|
|
||||||
// and highlight it
|
// and highlight it
|
||||||
if (noHighlightUpdate !== false) {
|
if (noHighlightUpdate !== false) {
|
||||||
|
if (initial === true && selected >= 0) {
|
||||||
this.highlight(selected);
|
this.highlight(selected);
|
||||||
|
} else {
|
||||||
|
this.highlight(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// hide the search box if this is the first we got the results and there are enough of them for search
|
// hide the search box if this is the first we got the results and there are enough of them for search
|
||||||
|
Loading…
x
Reference in New Issue
Block a user