1
0
Fork 0
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:
John Moore 2013-07-27 11:30:17 -05:00
parent de35a43d54
commit 6b40e833ea
4 changed files with 34 additions and 22 deletions

View file

@ -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>