From d8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 12 Oct 2011 13:53:50 -0400 Subject: [PATCH] Autocomplete: Use strict equality check. --- ui/jquery.ui.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5