]> git.mxchange.org Git - friendica.git/blobdiff - js/fk.autocomplete.js
revup
[friendica.git] / js / fk.autocomplete.js
old mode 100644 (file)
new mode 100755 (executable)
index 545fd16..509466b
@@ -1,5 +1,5 @@
 /**
- * Friendika people autocomplete
+ * Friendica people autocomplete
  *
  * require jQuery, jquery.textareas
  */
@@ -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();