mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
fixed up the playlist and the auto refresh with jquery
This commit is contained in:
parent
de35a43d54
commit
6b40e833ea
4 changed files with 34 additions and 22 deletions
|
@ -31,6 +31,6 @@ function refresh()
|
|||
<?php echo Ajax::action($ajax_url, ''); ?>;
|
||||
}
|
||||
$(document).ready(function() {
|
||||
window.setInterval(refresh(), refreshInterval);
|
||||
window.setInterval(function(){refresh();}, refreshInterval * 1000);
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue