mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 19:11:49 +02:00
Change toggle sync delay
This commit is contained in:
parent
aa70dc3a94
commit
b4ba000779
@ -42,7 +42,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#entryToggle').change(function() {
|
$('#entryToggle').change(function() {
|
||||||
$.ajax({url: "/api/entries/accept/"+($('#entryToggle').is(":checked") ? "1" : "0"), complete: setTimeout(refreshEntryToggle, 500)});
|
$.ajax({url: "/api/entries/accept/"+($('#entryToggle').is(":checked") ? "1" : "0"), complete: setTimeout(refreshEntryToggle, 1000)});
|
||||||
})
|
})
|
||||||
refreshEntryToggle()
|
refreshEntryToggle()
|
||||||
$("#entrytable").bootstrapTable().on('load-success.bs.table', function() {
|
$("#entrytable").bootstrapTable().on('load-success.bs.table', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user