mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 17:21:43 +02:00
Change toggle sync delay
This commit is contained in:
@ -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() {
|
||||||
|
Reference in New Issue
Block a user