apply tooltip to all avatars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
077381c7b3
commit
f8b9ddc0ea
|
@ -314,9 +314,8 @@ OC.Share = _.extend(OC.Share || {}, {
|
||||||
var avatarElement = action.find('.avatar');
|
var avatarElement = action.find('.avatar');
|
||||||
avatarElement.each(function () {
|
avatarElement.each(function () {
|
||||||
$(this).avatar($(this).data('username'), 32);
|
$(this).avatar($(this).data('username'), 32);
|
||||||
|
$(this).tooltip({placement: 'top'});
|
||||||
});
|
});
|
||||||
|
|
||||||
action.find('.icon-shared + span').tooltip({placement: 'top'});
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
||||||
|
|
Loading…
Reference in New Issue