From: Scott González Date: Wed, 12 Oct 2011 17:53:50 +0000 (-0400) Subject: Autocomplete: Use strict equality check. X-Git-Tag: 1.9m7~197 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6;p=jquery-ui.git Autocomplete: Use strict equality check. --- diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 5c5b0334e..7edd22a63 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/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 ); }