aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-10-12 13:53:50 -0400
committerScott González <scott.gonzalez@gmail.com>2011-10-12 13:53:50 -0400
commitd8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6 (patch)
treed7488e291905efb286c43c21fa70ddceb2ead324
parentea19645c20b79aea8afbc95999a51b4923a0b14b (diff)
downloadjquery-ui-d8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6.tar.gz
jquery-ui-d8b0ce8db29a74b9ca3b3be58b9c0bdce472c5d6.zip
Autocomplete: Use strict equality check.
-rw-r--r--ui/jquery.ui.autocomplete.js2
1 files changed, 1 insertions, 1 deletions
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 );
}