forked from MarseyWorld/MarseyWorld
fix
parent
c3c7b20ccd
commit
d14612c7f0
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue