From 3d06efd8e37051b82249c1d0e972d2582475290f Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 3 Jan 2023 23:40:55 +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 ea9921c..9832bec 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -130,8 +130,8 @@ function get_admin(type) {
${(prankData[entry].state == "Pending") ? "Accepter" : "Récupérer (accepté par: "+prankData[entry].manageBy+")"}
-
Refuser
Done
+
Refuser
`) @@ -270,8 +270,8 @@ function refreshListener() { success: function (data) { if(data.success) { let btnElems = $("#"+uid).children()[6]; - btnElems.children()[0].css("display", "none"); - btnElems.children()[2].css("display", "flex"); + btnElems.children[0].css("display", "none"); + btnElems.children[2].css("display", "flex"); } else { if (data.why == "Not authentificated") { show_page('#login-page');