aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-10-01 04:36:46 -0700
committerScott González <scott.gonzalez@gmail.com>2011-10-01 04:36:46 -0700
commit5dcaacca1a28e846d9d0ba9a8ad73be1c861944f (patch)
treeda6f28324da12306ec6c5d61b40141fc35b79c32
parent1e395ecf08c8c9d24b1b676692124f9e2c2602c1 (diff)
parent663719863f947352c03f0a8b43dceff293c4f554 (diff)
downloadjquery-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.js2
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 );
}