fix
This commit is contained in:
parent
069b913476
commit
4e20ea7c7d
2 changed files with 6 additions and 6 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue