Skip to content

Commit

Permalink
fix(core): 修复职教云进度不显示的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Jun 11, 2022
1 parent dcf73b3 commit 480cfa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/script/icve/study.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ export function fixedVideoProgress(fixed: boolean) {
const { bar } = domSearch({ bar: '.jw-controlbar' });
if (common.currentMedia && bar) {
bar.style.display = fixed ? 'block' : 'none';
bar.style.visibility = fixed ? 'visible' : 'hidden';
bar.style.opacity = fixed ? '1' : '0';
}
}

Expand Down

0 comments on commit 480cfa3

Please sign in to comment.