Do not show social menu when there is no link share

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-03-31 17:29:41 +02:00
parent 57020a0c36
commit 2950bcbc70
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -30,7 +30,7 @@
'{{#if singleAction}}' +
'<a class="{{#unless isLinkShare}}hidden-visually{{/unless}} clipboardButton icon icon-clippy" data-clipboard-target="#linkText-{{cid}}"></a>' +
'{{else}}' +
'<a href="#"><span class="linkMore icon icon-more"></span></a>' +
'<a class="{{#unless isLinkShare}}hidden-visually{{/unless}}" href="#"><span class="linkMore icon icon-more"></span></a>' +
'{{{popoverMenu}}}' +
'{{/if}}' +
'</div>' +