aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.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/page.header.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/page.header.html')
-rw-r--r--tpl/default/page.header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index b76fc03e..dcc0d5a1 100644
--- a/tpl/default/page.header.html
+++ b/tpl/default/page.header.html
@@ -114,7 +114,7 @@
114 {if="!empty($search_tags)"} 114 {if="!empty($search_tags)"}
115 value="{$search_tags}" 115 value="{$search_tags}"
116 {/if} 116 {/if}
117 autocomplete="off" data-multiple data-minChars="1" 117 autocomplete="off" data-multiple data-autofirst data-minChars="1"
118 data-list="{loop="$tags"}{$key}, {/loop}" 118 data-list="{loop="$tags"}{$key}, {/loop}"
119 > 119 >
120 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 120 <button type="submit" class="search-button"><i class="fa fa-search"></i></button>