Add autofocus on tag cloud filter input

Fix #1413
This commit is contained in:
Kevin Masson 2020-02-10 13:53:44 +01:00
parent f6637392a9
commit 82e7b56f29

View file

@ -32,6 +32,7 @@ <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2>
{/if}
autocomplete="off" data-multiple data-autofirst data-minChars="1"
data-list="{loop="$tags"}{$key}, {/loop}"
class="autofocus"
>
<button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
</form>