This commit is contained in:
kek7198 2021-12-02 21:40:27 -06:00
parent 069b913476
commit 4e20ea7c7d
2 changed files with 6 additions and 6 deletions

View file

@ -14,8 +14,8 @@ function removeComment(post_id,button1,button2) {
button.innerHTML='<i class="fas fa-clipboard-check"></i>Approve'
if (typeof button1 !== 'undefined') {
document.getElementById(button1).classList.toggle("d-md-inline-block");
document.getElementById(button2).classList.toggle("d-md-inline-block");
document.getElementById(button1).classList.toggle("md:block");
document.getElementById(button2).classList.toggle("md:block");
}
};
@ -35,8 +35,8 @@ function approveComment(post_id,button1,button2) {
button.innerHTML='<i class="fas fa-trash-alt"></i>Remove'
if (typeof button1 !== 'undefined') {
document.getElementById(button1).classList.toggle("d-md-inline-block");
document.getElementById(button2).classList.toggle("d-md-inline-block");
document.getElementById(button1).classList.toggle("md:block");
document.getElementById(button2).classList.toggle("md:block");
}
}

View file

@ -51,8 +51,8 @@ function post_toast3(url, button1, button2) {
xhr.send(form);
document.getElementById(button1).classList.toggle("d-md-inline-block");
document.getElementById(button2).classList.toggle("d-md-inline-block");
document.getElementById(button1).classList.toggle("md:block");
document.getElementById(button2).classList.toggle("md:block");
}
report_commentModal = function(id, author) {