Remove minlength for autocompleting labels in saved search dialog.

Trigger autocomplete after typing the first letter when adding labels in
the saved search dialog.
This commit is contained in:
evazion
2017-07-11 19:27:04 -05:00
parent 51d0feb2c6
commit 6e3763e7d7

View File

@@ -548,7 +548,6 @@
Danbooru.Post.initialize_saved_searches = function() {
$("#saved_search_labels").autocomplete({
minLength: 2,
source: function(req, resp) {
Danbooru.SavedSearch.labels(req.term).success(function(labels) {
resp(labels.map(function(label) {