This commit is contained in:
asyncnomi 2023-01-10 09:53:21 +01:00
parent fc86c8092d
commit 932d035cd8

View file

@ -251,7 +251,8 @@ function get_admin(type) {
}),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: false,
success: function(data) {
if(data.success) {
if(data.state == "open") {
@ -270,7 +271,7 @@ function get_admin(type) {
}
}
});
$("#admin-content").append(`
<span class="prank">
<div id=prankDone>Nombre totale de missions achevées: ${doneCnt}</div>
@ -783,7 +784,7 @@ function updateDemandes() {
token: localStorage.getItem('token'),
type: "state"
}),
success: function(data) {
if(data.success) {
if(data.state == "open") {