autofocus first term of autocomplete for convenience

This commit is contained in:
Toks
2013-06-19 22:23:22 -04:00
parent ba539b0e18
commit 62a3391c04
4 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
Danbooru.Artist.initialize_auto_complete = function() {
$("#quick_search_name").autocomplete({
minLength: 1,
autoFocus: true,
source: function(req, resp) {
$.ajax({
url: "/artists.json",