fix share icons of shared items being placed off on mobile

This commit is contained in:
Jan-Christoph Borchardt 2015-08-26 10:27:55 +02:00
parent 6cbb56ac5f
commit 898243a5ee
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ OC.Share={
if (img.attr('src') !== OC.imagePath('core', 'actions/public')) {
img.attr('src', image);
$(actions[i]).addClass('permanent');
$(actions[i]).html(' <span>'+t('core', 'Shared')+'</span>').prepend(img);
$(actions[i]).html('<span> '+t('core', 'Shared')+'</span>').prepend(img);
}
}
for(i = 0; i < files.length; i++) {
@ -276,7 +276,7 @@ OC.Share={
else if (recipients) {
message = t('core', 'Shared with {recipients}', {recipients: this._formatShareList(recipients.split(", ")).join(", ")}, 0, {escape: false});
}
action.html(' <span>' + message + '</span>').prepend(img);
action.html('<span> ' + message + '</span>').prepend(img);
if (owner || recipients) {
action.find('.remoteAddress').tipsy({gravity: 's'});
}