aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-18 23:02:07 -0800
committerfriendica <info@friendica.com>2011-11-18 23:02:07 -0800
commitd4911f15e97123590ad6ecdfd32c84a334134528 (patch)
tree8d8f3ce864e5218fa4cd8a2174c88ee9b34da63e /js
parent6893df991edfe971871a5db45055b40b871a7a4f (diff)
downloadvolse-hubzilla-d4911f15e97123590ad6ecdfd32c84a334134528.tar.gz
volse-hubzilla-d4911f15e97123590ad6ecdfd32c84a334134528.tar.bz2
volse-hubzilla-d4911f15e97123590ad6ecdfd32c84a334134528.zip
don't allow space in autocomplete nickname
Diffstat (limited to 'js')
-rw-r--r--js/fk.autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/fk.autocomplete.js b/js/fk.autocomplete.js
index 545fd1645..85b51baeb 100644
--- a/js/fk.autocomplete.js
+++ b/js/fk.autocomplete.js
@@ -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();