From b5d63c7adca8d7a6ed9873dd99a0f000bbc9a589 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 3 Jan 2023 21:04:09 +0100 Subject: [PATCH] bla --- static/js/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 7c2d56c..9e84ae8 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -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",