master
Aevann1 2022-09-14 13:45:41 +02:00
parent c3c7b20ccd
commit d14612c7f0
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@
{% if v.admin_level > 1 %} {% if v.admin_level > 1 %}
<script> <script>
document.addEventListener('click', function (e) { document.addEventListener('click', function (e) {
if (!e.target.classList.contains('del')) { if (!e.target.classList.contains('del') && !e.target.classList.contains('fa-trash-alt')) {
for (const btn of document.querySelectorAll('.delmsg:not(.d-none)')) { for (const btn of document.querySelectorAll('.delmsg:not(.d-none)')) {
btn.classList.add('d-none'); btn.classList.add('d-none');
btn.previousElementSibling.classList.remove('d-none'); btn.previousElementSibling.classList.remove('d-none');