Skip to content

Commit

Permalink
Merge pull request #112 from Wikidata-lib/valueviewcompat
Browse files Browse the repository at this point in the history
Compatibility fixes with ValueView 0.10.0
  • Loading branch information
mariushoch committed Jan 13, 2015
2 parents d29d2c9 + 0b61fbe commit 8ea1ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ext.PropertySuggester.EntitySelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
var focusHandler = function( event ) {
if( self._useSuggester() && self.element.val() === ''
&& !self.options.menu.element.is( ":visible" ) ) {
self._minTermLength = 0;
self.options.minTermLength = 0;
self._cache = {}; // is done in the entityselector on eachchange too
self.search( event );
self.search();
}
};
self.element.on( 'focus', focusHandler );
Expand Down

0 comments on commit 8ea1ce3

Please sign in to comment.