This commit is contained in:
johan 2023-01-10 09:40:40 +01:00
parent a9161ddea9
commit 26c0a7b372

View file

@ -263,7 +263,7 @@ function get_admin(type) {
<span class="prank">
<div>Changer l'état de commande de crêpe :</div>
<span class="prank-btn">
<div class="prank-btn-accept" id="switch-state">${text}</div>
<div id="switch-state">${text}</div>
</span>
</span>
`)
@ -401,7 +401,7 @@ function refreshListener() {
}
})
})
});
$(".prank-btn-accept").click((e) => {
let uid = e.target.parentNode.parentNode.id