Autocomplete: Use strict equality check.

This commit is contained in:
Scott González 2011-10-12 13:53:50 -04:00
parent ea19645c20
commit d8b0ce8db2

View File

@ -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 );
}