aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-11 13:47:07 +0100
committerArthurHoaro <arthur@hoa.ro>2017-03-11 13:48:47 +0100
commit792b26789fe9f6245a155e47aea0273917ac33d7 (patch)
tree1f68a1394f38dbf699640fd61b444ac0c4276a2a /tpl/default/linklist.html
parent844021ab4c0d3dd6c26704648a736fa53244c914 (diff)
downloadShaarli-792b26789fe9f6245a155e47aea0273917ac33d7.tar.gz
Shaarli-792b26789fe9f6245a155e47aea0273917ac33d7.tar.zst
Shaarli-792b26789fe9f6245a155e47aea0273917ac33d7.zip
Fixes #657: use data-autofirst parameter for awesomeplete
data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index 94370203..57ef4567 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -34,7 +34,7 @@
34 {if="!empty($search_tags)"} 34 {if="!empty($search_tags)"}
35 value="{$search_tags}" 35 value="{$search_tags}"
36 {/if} 36 {/if}
37 autocomplete="off" data-multiple data-minChars="1" 37 autocomplete="off" data-multiple data-autofirst data-minChars="1"
38 data-list="{loop="$tags"}{$key}, {/loop}" 38 data-list="{loop="$tags"}{$key}, {/loop}"
39 > 39 >
40 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 40 <button type="submit" class="search-button"><i class="fa fa-search"></i></button>