This commit is contained in:
asyncnomi 2023-01-03 20:48:52 +01:00
parent ae6bbb07f3
commit 702e4156e5

View file

@ -89,7 +89,7 @@ $("#admin-activity").click(() => {
})
function get_admin(type) {
$("#admin-content").innerHTML = "";
$("#admin-content").empty();
$.ajax({
type: "POST",
url: base_url + "get",
@ -326,7 +326,7 @@ function refreshListener() {
success: function (data) {
if(data.success) {
$("#"+uid).remove();
$("#prankDone").innerHTML = parseInt($("#prankDone").innerHTML) + 1;
$("#prankDone")[0].innerHTML = "Nombre totale de mission achevées: " + (parseInt($("#prankDone")[0].innerHTML.replace("Nombre totale de mission achevées: ", "")) + 1);
} else {
if (data.why == "Not authentificated") {
show_page('#login-page');