Skip to content
Permalink
Browse files

Autocomplete: Use strict equality check.

  • Loading branch information...
scottgonzalez committed Oct 12, 2011
1 parent ea19645 commit d8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.autocomplete.js
@@ -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 );
}

0 comments on commit d8b0ce8

Please sign in to comment.
You can’t perform that action at this time.