We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c6655 commit 6f46c46Copy full SHA for 6f46c46
src/jquery.autocomplete.js
@@ -446,7 +446,7 @@
446
query = that.getQuery(value),
447
index;
448
449
- if (that.selection && that.currentValue != query) {
+ if (that.selection && that.currentValue !== query) {
450
that.selection = null;
451
(options.onInvalidateSelection || $.noop).call(that.element);
452
}
0 commit comments