Refactor Control class to remove unnecessary loading.show assignments

This commit is contained in:
Harvey Zack committed 2024-10-21 18:48:41 +08:00
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);