Optimisation
This commit is contained in:
parent
45eab633cc
commit
7cb32de495
@ -167,7 +167,14 @@ function getCurentMusic() {
|
|||||||
}
|
}
|
||||||
if (switchAutoFlow.is(':checked') != data.autoflow)
|
if (switchAutoFlow.is(':checked') != data.autoflow)
|
||||||
switchAutoFlow.prop('checked', data.autoflow);
|
switchAutoFlow.prop('checked', data.autoflow);
|
||||||
getPlayList();
|
if(data.state !== "DISCONNECTED" && data.state !== "STOP")
|
||||||
|
getPlayList();
|
||||||
|
else{
|
||||||
|
if (loadingFlag) {
|
||||||
|
modal_loading.close();
|
||||||
|
loadingFlag = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
.fail(function (data) {
|
.fail(function (data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user