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:
@@ -548,7 +548,6 @@
|
|||||||
|
|
||||||
Danbooru.Post.initialize_saved_searches = function() {
|
Danbooru.Post.initialize_saved_searches = function() {
|
||||||
$("#saved_search_labels").autocomplete({
|
$("#saved_search_labels").autocomplete({
|
||||||
minLength: 2,
|
|
||||||
source: function(req, resp) {
|
source: function(req, resp) {
|
||||||
Danbooru.SavedSearch.labels(req.term).success(function(labels) {
|
Danbooru.SavedSearch.labels(req.term).success(function(labels) {
|
||||||
resp(labels.map(function(label) {
|
resp(labels.map(function(label) {
|
||||||
|
|||||||
Reference in New Issue
Block a user