Ability to delete a stronger pad from readonly mode

This commit is contained in:
yflory
2017-10-12 11:41:53 +02:00
parent b28c1537e8
commit 95ad25973e
3 changed files with 8 additions and 5 deletions

View File

@@ -150,9 +150,6 @@ define([
'class': "fa fa-trash cryptpad-forget",
style: 'font:'+size+' FontAwesome'
});
if (!common.isStrongestStored()) {
button.addClass('cp-toolbar-hidden');
}
if (callback) {
button
.click(common.prepareFeedback(type))