diff options
author | David Leal <dgleal@gmail.com> | 2011-10-01 12:06:40 +0100 |
---|---|---|
committer | David Leal <dgleal@gmail.com> | 2011-10-01 12:06:40 +0100 |
commit | 663719863f947352c03f0a8b43dceff293c4f554 (patch) | |
tree | da6f28324da12306ec6c5d61b40141fc35b79c32 | |
parent | 1e395ecf08c8c9d24b1b676692124f9e2c2602c1 (diff) | |
download | jquery-ui-663719863f947352c03f0a8b43dceff293c4f554.tar.gz jquery-ui-663719863f947352c03f0a8b43dceff293c4f554.zip |
Autocomplete: Fix stray reference to element.val().
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index a4bc82d28..6b06cfe2c 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -328,7 +328,7 @@ $.widget( "ui.autocomplete", { clearTimeout( self.searching ); self.searching = setTimeout(function() { // only search if the value has changed - if ( self.term != self.element.val() ) { + if ( self.term != self._value() ) { self.selectedItem = null; self.search( null, event ); } |