fix tooltips for good

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-11-22 00:28:53 +01:00
parent f8b9ddc0ea
commit b3b34c08d1
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -314,8 +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('span[title]').tooltip({placement: 'top'});
}
} else {
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);