add highlight to typeahead

This commit is contained in:
Devin Howard 2015-10-26 21:01:13 +08:00
parent fb848b29d5
commit 9916975e2e

View file

@ -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,
}, },
[{ [{