mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2026-10-25 10:27:53 +01:00
Inprovements to entry disabling.
This commit is contained in:
1 parent
ac2efc29c9
commit
7629eed323
2 files changed
+9
-7
No files matched your search
@@ -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