]> git.mxchange.org Git - friendica.git/blobdiff - js/fk.autocomplete.js
Merge pull request #18 from zzottel/master
[friendica.git] / js / fk.autocomplete.js
index 545fd16454aaea3ab949974dc386d0ff2c43f489..85b51baeb3078796392eb7d09c08faeca4e18a3d 100644 (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();