diff options
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index bf9250b3c3a..7e0d0b7a2d3 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -219,7 +219,7 @@ OC.Share={ return html; }, /** - * Loop over all recipients in the list and format them using + * Loop over all recipients in the list and format them using * all kind of fancy magic. * * @param {String[]} recipients array of all the recipients @@ -249,6 +249,7 @@ OC.Share={ var owner = $tr.attr('data-share-owner'); var shareFolderIcon; var image = OC.imagePath('core', 'actions/share'); + action.removeClass('shared-style'); // update folder icon if (type === 'dir' && (hasShares || hasLink || owner)) { if (hasLink) { @@ -265,6 +266,7 @@ OC.Share={ // update share action text / icon if (hasShares || owner) { recipients = $tr.attr('data-share-recipients'); + action.addClass('shared-style'); message = t('core', 'Shared'); // even if reshared, only show "Shared by" |