forked from MarseyWorld/MarseyWorld
master
parent
74a112ba98
commit
4a30af9785
|
@ -218,9 +218,11 @@ function comment_edit(id){
|
||||||
|
|
||||||
document.getElementById('comment-edit-body-' + id).value = data["body"];
|
document.getElementById('comment-edit-body-' + id).value = data["body"];
|
||||||
|
|
||||||
const ping_cost = document.getElementById('comment-ping-cost-' + id)
|
if (data["ping_cost"]) {
|
||||||
ping_cost.innerText = data["ping_cost"];
|
const ping_cost = document.getElementById('comment-ping-cost-' + id)
|
||||||
ping_cost.parentElement.classList.remove('d-none')
|
ping_cost.innerText = data["ping_cost"]
|
||||||
|
ping_cost.parentElement.classList.remove('d-none')
|
||||||
|
}
|
||||||
|
|
||||||
const input = ta.parentElement.querySelector('input[type="file"]')
|
const input = ta.parentElement.querySelector('input[type="file"]')
|
||||||
input.previousElementSibling.innerHTML = '';
|
input.previousElementSibling.innerHTML = '';
|
||||||
|
|
Loading…
Reference in New Issue