mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Autocomplete: Use strict equality check.
This commit is contained in:
parent
ea19645c20
commit
d8b0ce8db2
2
ui/jquery.ui.autocomplete.js
vendored
2
ui/jquery.ui.autocomplete.js
vendored
@ -320,7 +320,7 @@ $.widget( "ui.autocomplete", {
|
||||
clearTimeout( self.searching );
|
||||
self.searching = setTimeout(function() {
|
||||
// only search if the value has changed
|
||||
if ( self.term != self._value() ) {
|
||||
if ( self.term !== self._value() ) {
|
||||
self.selectedItem = null;
|
||||
self.search( null, event );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user