Permalink
Browse files

fix showAutocompleteOnFocus by giving default minLength

  • Loading branch information...
1 parent d5fe008 commit 1b5378a5007a96f335cca10cceeb96e033554524 @aehlke committed Nov 28, 2012
Showing with 17 additions and 13 deletions.
  1. +4 −0 js/tag-it.js
  2. +13 −13 js/tag-it.min.js
View
@@ -151,6 +151,10 @@
this.tagInput.focus(function(event, ui) {
that._showAutocomplete();
});
+
+ if (typeof this.options.autocomplete.minLength === 'undefined') {
+ this.options.autocomplete.minLength = 0;
+ }
}
// Bind autocomplete.source callback functions to this context.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 1b5378a

Please sign in to comment.