add highlight to typeahead

This commit is contained in:
Devin Howard 2015-10-26 21:01:13 +08:00 committed by Connor Turland
parent 0b96171aa3
commit f0c0dc48d8

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