don't allow space in autocomplete nickname

pull/8/head^2
friendica 2011-11-18 23:02:07 -08:00
parent 6893df991e
commit d4911f15e9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ ACPopup.prototype._search = function(){
that.cont.show();
$(data.items).each(function(){
html = "<img src='{0}' height='16px' width='16px'>{1} ({2})".format(this.photo, this.name, this.nick)
that.add(html, this.nick + '+' + this.id + ' - ' + this.link);
that.add(html, this.nick.replace(' ','') + '+' + this.id + ' - ' + this.link);
});
} else {
that.cont.hide();