diff --git a/static/js/item.js b/static/js/item.js index b0ce06e..ddf0cc4 100644 --- a/static/js/item.js +++ b/static/js/item.js @@ -24,6 +24,8 @@ var app = new Vue({ this.new_depicts.push(hit); this.hits = []; this.searchTerms = ''; + var search_field = document.getElementById('search-field'); + search_field.focus(); }, run_search() { var terms = this.searchTerms;