add highlight to typeahead
This commit is contained in:
parent
fb848b29d5
commit
9916975e2e
1 changed files with 2 additions and 0 deletions
|
@ -678,6 +678,7 @@ Metamaps.Create = {
|
||||||
// initialize the autocomplete results for the metacode spinner
|
// initialize the autocomplete results for the metacode spinner
|
||||||
$('#topic_name').typeahead(
|
$('#topic_name').typeahead(
|
||||||
{
|
{
|
||||||
|
highlight: true,
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
},
|
},
|
||||||
[{
|
[{
|
||||||
|
@ -767,6 +768,7 @@ Metamaps.Create = {
|
||||||
// initialize the autocomplete results for synapse creation
|
// initialize the autocomplete results for synapse creation
|
||||||
$('#synapse_desc').typeahead(
|
$('#synapse_desc').typeahead(
|
||||||
{
|
{
|
||||||
|
highlight: true,
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
},
|
},
|
||||||
[{
|
[{
|
||||||
|
|
Loading…
Reference in a new issue