diff options
author | Mario <mario@mariovavti.com> | 2020-10-23 06:52:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-23 06:52:18 +0000 |
commit | 69d627a58bee8eb9922fd68211982d12c1f7cb75 (patch) | |
tree | ebe8c0fe95d4287b8ea7487481344dd295e6ec92 /view/js/autocomplete.js | |
parent | c1f36802a14c027b580a79ef5e6b85f08a4a918f (diff) | |
parent | 2772c335635aa5248a4509e0976432707b3e716e (diff) | |
download | volse-hubzilla-69d627a58bee8eb9922fd68211982d12c1f7cb75.tar.gz volse-hubzilla-69d627a58bee8eb9922fd68211982d12c1f7cb75.tar.bz2 volse-hubzilla-69d627a58bee8eb9922fd68211982d12c1f7cb75.zip |
Merge branch 'dev' into 5.0RC
Diffstat (limited to 'view/js/autocomplete.js')
-rw-r--r-- | view/js/autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 660b5f190..27011b4d4 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'>{4}</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}' loading='lazy'><span class='font-weight-bold 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>"; |