mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-06 10:04:31 +02:00
Inprovements to entry disabling.
This commit is contained in:
@ -43,7 +43,7 @@
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
$('#entryToggle').change(function() {
|
||||
$.ajax({url: "/api/entries/accept/"+($('#entryToggle').is(":checked") ? "1" : "0"), complete: refreshEntryToggle});
|
||||
$.ajax({url: "/api/entries/accept/"+($('#entryToggle').is(":checked") ? "1" : "0"), complete: setTimeout(refreshEntryToggle, 500)});
|
||||
})
|
||||
refreshEntryToggle();
|
||||
})
|
||||
|
Reference in New Issue
Block a user