aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-11-21 12:52:49 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-11-23 13:32:14 +0100
commitf8b9ddc0eae6a4222b00b5ff4570315e977659f4 (patch)
treed228179e774ef64c31c2e2e0454ac551cb598b28 /core
parent077381c7b3aa220253a18ce3bbb946e4a46d8213 (diff)
downloadnextcloud-server-f8b9ddc0eae6a4222b00b5ff4570315e977659f4.tar.gz
nextcloud-server-f8b9ddc0eae6a4222b00b5ff4570315e977659f4.zip
apply tooltip to all avatars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core')
-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);