diff options
author | Kevin Masson <kevin.masson@methodinthemadness.eu> | 2020-02-10 13:53:44 +0100 |
---|---|---|
committer | Kevin Masson <kevin.masson@methodinthemadness.eu> | 2020-02-10 13:53:44 +0100 |
commit | 82e7b56f2924398a542855c20159a16f28d1a848 (patch) | |
tree | 5c2d33cf467da80dd5724c52eb89fbb56b06ec34 | |
parent | f6637392a93fb0708b7f972a22151b38795dc1e2 (diff) | |
download | Shaarli-82e7b56f2924398a542855c20159a16f28d1a848.tar.gz Shaarli-82e7b56f2924398a542855c20159a16f28d1a848.tar.zst Shaarli-82e7b56f2924398a542855c20159a16f28d1a848.zip |
Add autofocus on tag cloud filter input
Fix #1413
-rw-r--r-- | tpl/default/tag.cloud.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index b9c0b162..7839fcca 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html | |||
@@ -32,6 +32,7 @@ | |||
32 | {/if} | 32 | {/if} |
33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" | 33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" |
34 | data-list="{loop="$tags"}{$key}, {/loop}" | 34 | data-list="{loop="$tags"}{$key}, {/loop}" |
35 | class="autofocus" | ||
35 | > | 36 | > |
36 | <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button> | 37 | <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button> |
37 | </form> | 38 | </form> |