From aa5054d5ba9fa1bcae06b39b858a56e53ed08738 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 12 Apr 2014 00:41:36 -0700 Subject: this is looking better, call the forum version of a tag "foobar network", besides altering the icon --- view/js/autocomplete.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'view/js/autocomplete.js') diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index c820b3b47..c01ba6990 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -85,12 +85,7 @@ ACPopup.prototype._search = function(){ if (data.tot>0){ that.cont.show(); $(data.items).each(function(){ - if(this.taggable) - ihtml = ''; - else - ihtml = ''; - - html = "{1} {2} ({3})".format(this.photo, ihtml, this.name, this.nick) + html = "{1} ({2})".format(this.photo, this.name, ((this.label) ? this.nick + ' ' + this.label : this.nick) ) that.add(this.taggable, html, this.nick.replace(' ','') + '+' + this.id + ' - ' + this.link); }); } else { -- cgit v1.2.3