Skip to content
Permalink
Browse files

Autocomplete: Fix stray reference to element.val().

  • Loading branch information
david committed Oct 1, 2011
1 parent 1e395ec commit 663719863f947352c03f0a8b43dceff293c4f554
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 6637198

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