bla
This commit is contained in:
parent
ae6bbb07f3
commit
702e4156e5
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue