aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-05-18 13:07:24 -0400
committerAndrew Manning <tamanning@zoho.com>2018-05-18 13:07:24 -0400
commit40d99c171678654817e392b7f59050dccce770a8 (patch)
tree4fc7352d72b0c40ef27998243d9c3b0a209db78b /view
parent179eeb10a6e1b661dc7788d74d60a7c11dfca6bf (diff)
parent5a6141faa2a87a4aeb00a566c1230f35544ff3d2 (diff)
downloadvolse-hubzilla-40d99c171678654817e392b7f59050dccce770a8.tar.gz
volse-hubzilla-40d99c171678654817e392b7f59050dccce770a8.tar.bz2
volse-hubzilla-40d99c171678654817e392b7f59050dccce770a8.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view')
-rw-r--r--view/js/autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index e5a551344..54eb03e13 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -40,7 +40,7 @@ function contact_format(item) {
var desc = ((item.label) ? item.nick + ' ' + item.label : item.nick);
if(typeof desc === 'undefined') desc = '';
if(desc) desc = ' ('+desc+')';
- return "<div class='{0} dropdown-item dropdown-notification clearfix' title='{4}'><img class='menu-img-2' src='{1}'><span class='contactname'>{2}</span><span class='dropdown-sub-text'>{3}</span></div>".format(item.taggable, item.photo, item.name, desc, typeof(item.link) !== 'undefined' ? item.link : desc.replace('(','').replace(')',''));
+ return "<div class='{0} dropdown-item dropdown-notification clearfix' title='{4}'><img class='menu-img-2' src='{1}'><span class='contactname'>{2}</span><span class='dropdown-sub-text'>{4}</span></div>".format(item.taggable, item.photo, item.name, desc, typeof(item.link) !== 'undefined' ? item.link : desc.replace('(','').replace(')',''));
}
else
return "<div>" + item.text + "</div>";