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');