summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/js/share.js b/core/js/share.js
index a2a3635e145..85a5b0740dc 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -314,9 +314,8 @@ OC.Share = _.extend(OC.Share || {}, {
var avatarElement = action.find('.avatar');
avatarElement.each(function () {
$(this).avatar($(this).data('username'), 32);
+ $(this).tooltip({placement: 'top'});
});
-
- action.find('.icon-shared + span').tooltip({placement: 'top'});
}
} else {
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);