ds
This commit is contained in:
parent
a9161ddea9
commit
26c0a7b372
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue