activity: fix delete button for documents

This commit is contained in:
nobohan
2022-03-18 16:11:09 +01:00
parent 215b859725
commit 9c353669ea
2 changed files with 13 additions and 1 deletions

View File

@@ -2,4 +2,15 @@ div.chill-dropzone__below-zone {
a.btn-delete {
display: none;
}
}
}
// do it in js does not work
// document.addEventListener('DOMContentLoaded', e => {
// const dropzoneBelow = document.querySelectorAll('div.chill-dropzone__below-zone');
// dropzoneBelow.forEach(
// d => {
// const a = d.querySelector('a.btn-delete');
// d.removeChild(a);
// }
// )
// });