aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-11 14:20:55 +0100
committerGitHub <noreply@github.com>2017-03-11 14:20:55 +0100
commitc4f8360240990d7db55ceccd4bb4d4f67678fce6 (patch)
tree32fd4fb6aeef3bdff1177f31f909cb363264f731
parentc904bccce1c49eb130875ad055556fa6f9f36096 (diff)
parent792b26789fe9f6245a155e47aea0273917ac33d7 (diff)
downloadShaarli-c4f8360240990d7db55ceccd4bb4d4f67678fce6.tar.gz
Shaarli-c4f8360240990d7db55ceccd4bb4d4f67678fce6.tar.zst
Shaarli-c4f8360240990d7db55ceccd4bb4d4f67678fce6.zip
Merge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst
Fixes #657: use data-autofirst parameter for awesomeplete
-rw-r--r--tpl/default/linklist.html2
-rw-r--r--tpl/default/page.header.html2
2 files changed, 2 insertions, 2 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>
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index cbef6f71..03ca6843 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>