Merge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst

Fixes #657: use data-autofirst parameter for awesomeplete
This commit is contained in:
ArthurHoaro 2017-03-11 14:20:55 +01:00 committed by GitHub
commit c4f8360240
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@
{if="!empty($search_tags)"}
value="{$search_tags}"
{/if}
autocomplete="off" data-multiple data-minChars="1"
autocomplete="off" data-multiple data-autofirst data-minChars="1"
data-list="{loop="$tags"}{$key}, {/loop}"
>
<button type="submit" class="search-button"><i class="fa fa-search"></i></button>

View file

@ -114,7 +114,7 @@
{if="!empty($search_tags)"}
value="{$search_tags}"
{/if}
autocomplete="off" data-multiple data-minChars="1"
autocomplete="off" data-multiple data-autofirst data-minChars="1"
data-list="{loop="$tags"}{$key}, {/loop}"
>
<button type="submit" class="search-button"><i class="fa fa-search"></i></button>