Fixed autoplay button on dashboard

This commit is contained in:
Choco
2023-06-02 19:08:42 +08:00
parent 665197b51c
commit 8cc87a981f

View File

@@ -283,6 +283,7 @@ $(document).ready(function () {
$("#auto-play").on("click", function () {
let checkbox = $(this).is(':checked');
player.send({ "op": "toggleAutoplay", "status": checkbox })
player.autoplay = checkbox;
});
$("#remove-track-btn").on('click', function () {