Skip to content
Permalink
Browse files

Merge pull request #484 from david/master

Fix for autocomplete on contenteditable divs.
  • Loading branch information
scottgonzalez committed Oct 1, 2011
2 parents 1e395ec + 6637198 commit 5dcaacca1a28e846d9d0ba9a8ad73be1c861944f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
}

0 comments on commit 5dcaacc

Please sign in to comment.
You can’t perform that action at this time.