fix prev commit

master
Aevann1 2022-09-14 13:31:14 +02:00
parent e4a2e28ba3
commit f2da6ce091
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@
<span class="text d-none"></span>
<button class="quote btn" onclick="quote(this)"><i class="fas fa-reply" aria-hidden="true"></i></button>
{% if v.admin_level > 1 %}
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none')">
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none');this.classList.add('d-none')">
<i class="fas fa-trash-alt" aria-hidden="true"></i>
</button>
<button class="quote btn d-none" onclick="del(this)">
@ -190,7 +190,7 @@
<span class="text d-none">{{m['text']}}</span>
<button class="quote btn" onclick="quote(this)"><i class="fas fa-reply" aria-hidden="true"></i></button>
{% if v.admin_level > 1 %}
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none')">
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none');this.classList.add('d-none')">
<i class="fas fa-trash-alt" aria-hidden="true"></i>
</button>
<button class="quote btn d-none" onclick="del(this)">