From f8b9ddc0eae6a4222b00b5ff4570315e977659f4 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 21 Nov 2017 12:52:49 +0100 Subject: [PATCH] apply tooltip to all avatars Signed-off-by: Arthur Schiwon --- core/js/share.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/js/share.js b/core/js/share.js index a2a3635e14..85a5b0740d 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('' + t('core', 'Shared') + '').prepend(icon);