]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not show social menu when there is no link share 4175/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 31 Mar 2017 15:29:41 +0000 (17:29 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 31 Mar 2017 15:29:41 +0000 (17:29 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
core/js/sharedialoglinkshareview.js

index d881b85f70f92e017a1f4c91614b7980ba485685..f1cbea179286101722bf931f418253ef96bf1d25 100644 (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>' +