refactor: reviewed all message send to channel

This commit is contained in:
Terry Geng
2020-03-28 13:13:20 +08:00
parent e695c36e5f
commit 112564ba45
3 changed files with 52 additions and 33 deletions

View File

@ -496,7 +496,7 @@
200 : function(data) {
if (data.ver !== playlist_ver) {
playlist_ver = data.ver;
updatePlaylist();
checkForPlaylistUpdate();
}
updateControls(data.empty, data.play, data.mode);
}
@ -601,9 +601,9 @@
expand_copy.addClass('playlist-item');
expand_copy.appendTo(playlist_table);
expand_copy.click(function(){
updatePlaylist();
playlist_range_from = real_from;
playlist_range_to = real_to;
checkForPlaylistUpdate();
});
expand_copy.show();
}
@ -983,7 +983,7 @@
data: data
});
updatePlaylist();
checkForPlaylistUpdate();
}
function deleteAllResults(){
@ -998,7 +998,7 @@
data: data
});
updatePlaylist();
checkForPlaylistUpdate();
updateResults();
}