aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 11:41:22 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 11:41:22 +0100
commit9407f6c1d08b95bbbd751c372c0e571b1e2e1c15 (patch)
treecfdd35d6e2911f2646c64b4b7fc46b0b07ed675f /core/js/share.js
parenta57161f1e73a1238cf7ffa0ac39e5b6be54f105f (diff)
downloadnextcloud-server-9407f6c1d08b95bbbd751c372c0e571b1e2e1c15.tar.gz
nextcloud-server-9407f6c1d08b95bbbd751c372c0e571b1e2e1c15.zip
Fix test for tooltip and local share owner
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 240fc0fb761..c629fb01da4 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -301,16 +301,15 @@ OC.Share = _.extend(OC.Share || {}, {
message = t('core', 'Shared by ');
avatars = this._formatRemoteShare(owner, message);
} else if (recipients) {
- avatars = this._formatShareList(recipients.split(", ")).join("");
+ avatars = this._formatShareList(recipients.split(', ')).join('');
}
action.html(avatars).prepend(icon);
if (owner || recipients) {
var avatarElement = action.find('.avatar');
avatarElement.avatar(avatarElement.data('username'), 32);
- avatarElement.tooltip({placement: 'top'});
- action.find('.remoteAddress').tooltip({placement: 'top'});
+ action.find('.icon-shared + span').tooltip({placement: 'top'});
}
} else {
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);