mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 17:21:43 +02:00
Eintragungstoggle fix
This commit is contained in:
@ -116,10 +116,10 @@ table td:nth-child(2) {
|
||||
$.getJSON("/api/entries/accept", (data) => {
|
||||
if (data["value"]!=$('#entryToggle').is(":checked")) {
|
||||
if(data["value"]==1) {
|
||||
$('#entryToggle').bootstrapToggle('on')
|
||||
$('#entryToggle').data('bs.toggle').on('true')
|
||||
}
|
||||
else {
|
||||
$('#entryToggle').bootstrapToggle('off')
|
||||
$('#entryToggle').data('bs.toggle').off('true')
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user