summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/share.js b/core/js/share.js
index faa64103b7b..f8a8e0ee35a 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -26,7 +26,7 @@ OC.Share={
var action = $(file).find('.fileactions .action').filterAttr('data-action', 'Share');
var img = action.find('img').attr('src', image);
action.addClass('permanent');
- action.html(t('core', ' Shared')).prepend(img);
+ action.html(' '+t('core', 'Shared')).prepend(img);
}
var dir = $('#dir').val();
if (dir.length > 1) {
@@ -40,7 +40,7 @@ OC.Share={
if (img.attr('src') != OC.imagePath('core', 'actions/public')) {
img.attr('src', image);
action.addClass('permanent');
- action.html(t('core', ' Shared')).prepend(img);
+ action.html(' '+t('core', 'Shared')).prepend(img);
}
}
last = path;
@@ -87,10 +87,10 @@ OC.Share={
var img = action.find('img').attr('src', image);
if (shares) {
action.addClass('permanent');
- action.html(t('core', ' Shared')).prepend(img);
+ action.html(' '+t('core', 'Shared')).prepend(img);
} else {
action.removeClass('permanent');
- action.html(t('core', ' Share')).prepend(img);
+ action.html(' '+t('core', 'Share')).prepend(img);
}
}
if (shares) {