Move space
This commit is contained in:
parent
aa2ea9e3de
commit
5b732ac1ea
|
@ -26,7 +26,7 @@ OC.Share={
|
||||||
var action = $(file).find('.fileactions .action').filterAttr('data-action', 'Share');
|
var action = $(file).find('.fileactions .action').filterAttr('data-action', 'Share');
|
||||||
var img = action.find('img').attr('src', image);
|
var img = action.find('img').attr('src', image);
|
||||||
action.addClass('permanent');
|
action.addClass('permanent');
|
||||||
action.html(t('core', ' Shared')).prepend(img);
|
action.html(' '+t('core', 'Shared')).prepend(img);
|
||||||
}
|
}
|
||||||
var dir = $('#dir').val();
|
var dir = $('#dir').val();
|
||||||
if (dir.length > 1) {
|
if (dir.length > 1) {
|
||||||
|
@ -40,7 +40,7 @@ OC.Share={
|
||||||
if (img.attr('src') != OC.imagePath('core', 'actions/public')) {
|
if (img.attr('src') != OC.imagePath('core', 'actions/public')) {
|
||||||
img.attr('src', image);
|
img.attr('src', image);
|
||||||
action.addClass('permanent');
|
action.addClass('permanent');
|
||||||
action.html(t('core', ' Shared')).prepend(img);
|
action.html(' '+t('core', 'Shared')).prepend(img);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last = path;
|
last = path;
|
||||||
|
@ -87,10 +87,10 @@ OC.Share={
|
||||||
var img = action.find('img').attr('src', image);
|
var img = action.find('img').attr('src', image);
|
||||||
if (shares) {
|
if (shares) {
|
||||||
action.addClass('permanent');
|
action.addClass('permanent');
|
||||||
action.html(t('core', ' Shared')).prepend(img);
|
action.html(' '+t('core', 'Shared')).prepend(img);
|
||||||
} else {
|
} else {
|
||||||
action.removeClass('permanent');
|
action.removeClass('permanent');
|
||||||
action.html(t('core', ' Share')).prepend(img);
|
action.html(' '+t('core', 'Share')).prepend(img);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (shares) {
|
if (shares) {
|
||||||
|
|
Loading…
Reference in New Issue