diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-10-01 04:36:46 -0700 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-10-01 04:36:46 -0700 |
commit | 5dcaacca1a28e846d9d0ba9a8ad73be1c861944f (patch) | |
tree | da6f28324da12306ec6c5d61b40141fc35b79c32 | |
parent | 1e395ecf08c8c9d24b1b676692124f9e2c2602c1 (diff) | |
parent | 663719863f947352c03f0a8b43dceff293c4f554 (diff) | |
download | jquery-ui-5dcaacca1a28e846d9d0ba9a8ad73be1c861944f.tar.gz jquery-ui-5dcaacca1a28e846d9d0ba9a8ad73be1c861944f.zip |
Merge pull request #484 from david/master
Fix for autocomplete on contenteditable divs.
-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 ); } |