mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 04:45:12 +00:00
Use strict equality when comparing values.
This commit is contained in:
parent
17c665557b
commit
6f46c46356
@ -446,7 +446,7 @@
|
||||
query = that.getQuery(value),
|
||||
index;
|
||||
|
||||
if (that.selection && that.currentValue != query) {
|
||||
if (that.selection && that.currentValue !== query) {
|
||||
that.selection = null;
|
||||
(options.onInvalidateSelection || $.noop).call(that.element);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user