set minchars to 2 for contacts search

This commit is contained in:
friendica 2012-06-05 20:47:26 -07:00
parent 49732114d7
commit 6f41594634

View file

@ -52,6 +52,7 @@ function contacts_init(&$a) {
var a;
a = $("#contacts-search").autocomplete({
serviceUrl: '$base/acl',
minChars: 2,
width: 350,
});
a.setOptions({ params: { type: 'a' }});