asyncnomi 3 years ago
parent
commit
932d035cd8
  1. 7
      static/js/main.js

7
static/js/main.js

@ -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") {

Loading…
Cancel
Save