parent
6e5e8c6b46
commit
9ad03b61a3
|
@ -84,10 +84,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(' '+ escapeHTML(t('core', 'Shared'))).prepend(img);
|
||||||
} else {
|
} else {
|
||||||
action.removeClass('permanent');
|
action.removeClass('permanent');
|
||||||
action.html(' '+t('core', 'Share')).prepend(img);
|
action.html(' '+ escapeHTML(t('core', 'Share'))).prepend(img);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue