Focus search after add depicts should now work

This commit is contained in:
Edward Betts 2019-10-16 17:29:51 +01:00
parent a9ef91b214
commit 7a4af12f3f
2 changed files with 8 additions and 2 deletions

View file

@ -152,7 +152,7 @@ span.description { color: rgb(96, 96, 96); }
<button type="submit" v-if="new_depicts.length" class="btn btn-primary">add these to painting on Wikidata</button>
<input class="form-control-lg my-2 w-100" autofocus autocomplete="off" v-model.trim="searchTerms" ref="search" @input="search" />
<input class="form-control-lg my-2 w-100" autocomplete="off" v-model.trim="searchTerms" ref="search" @input="search" />
<div v-if="hits.length" id="item-list">
<div v-for="hit in hits">