mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
Refactor Control class to remove unnecessary loading.show assignments
This commit is contained in:
1 parent
cebbb6ec29
commit
11742b82dd
6 files changed
+10
-32
No files matched your search
@@ -249,7 +249,6 @@ function artplayerPluginDashControl(option = {}) {
|
||||
}), "html");
|
||||
const onSelect = (item)=>{
|
||||
dash.setCurrentTrack(item.value);
|
||||
art.loading.show = true;
|
||||
art.notice.show = `${title}: ${item.html}`;
|
||||
if (config.control) art.controls.check(item);
|
||||
if (config.setting) art.setting.check(item);
|
||||
|
||||
Reference in new issue
Block a user