diff --git a/static/js/main.js b/static/js/main.js index 9832bec..8911260 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -220,7 +220,7 @@ function get_admin(type) { `) - } else if (activityData[entry].type = "treasure") { + } else if (activityData[entry].type = "tr
Done
easure") { $("#admin-content").prepend(`
Trésor:
@@ -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].style.display = "none"; + btnElems.children[2].style.display = "flex"; } else { if (data.why == "Not authentificated") { show_page('#login-page');