This commit is contained in:
asyncnomi 2023-01-03 21:04:09 +01:00
parent c82a00e35b
commit b5d63c7adc

View file

@ -393,7 +393,7 @@ function refreshListener() {
})
$(".activity-btn-update").click((e) => {
let uid = e.target.parentNode.parentNode.id;
let children = e.target.parentNode.parentNode.children();
let children = e.target.parentNode.parentNode.children;
$.ajax({
type: "POST",
url: base_url + "refuseTreasure",
@ -457,8 +457,8 @@ function refreshListener() {
$("#activity-end-add").css("display", "flex");
}
})
$(".activity-btn-add").click((e) => {
let children = e.target.parentNode.parentNode.children();
$("#activity-btn-add").click((e) => {
let children = e.target.parentNode.parentNode.children;
$.ajax({
type: "POST",
url: base_url + "refuseTreasure",