From df29537e747989a8d9623b53b376a19c4db983b4 Mon Sep 17 00:00:00 2001 From: Daku Date: Mon, 24 Feb 2014 20:07:05 +0000 Subject: [PATCH] use default minchars again the tag list only returns a max of 10 results, and is only called once per autocomplete, making it harder to autocomplete longer tags --- lib/shimmie.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/shimmie.js b/lib/shimmie.js index 1814570b..f7731186 100644 --- a/lib/shimmie.js +++ b/lib/shimmie.js @@ -9,7 +9,7 @@ $(document).ready(function() { // Also use autocomplete in tag box? $('.autocomplete_tags').autocomplete(base_href + '/api/internal/tag_list/complete', { width: 320, - max: 15, + max: 10, highlight: false, multiple: true, multipleSeparator: ' ', @@ -17,8 +17,7 @@ $(document).ready(function() { scrollHeight: 300, selectFirst: false, queryParamName: 's', - delay: 150, - minChars: 1 + delay: 150 }); $("TABLE.sortable").tablesorter();