From a098c71b7b392770fe0165cca6e724e3315a0e62 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 3 Jan 2023 23:44:30 +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 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');