1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-06 14:52:50 +08:00

fix: 修复默认主题没有单曲循环的问题 see #355

This commit is contained in:
涵曦
2025-01-11 09:29:17 +08:00
parent 11c1ac4753
commit dab4903487

View File

@@ -83,7 +83,7 @@ function nextTrack() {
function togglePlayMode(isSend = true) {
const modeBtnIcon = $("#modeBtn .material-icons");
if (playModeIndex == '') {
if (playModeIndex === '') {
playModeIndex = 2;
}
modeBtnIcon.text(playModes[playModeIndex].icon);