mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
fix eslint err
This commit is contained in:
1 parent
f81225b248
commit
1498c93921
3 files changed
+3
-1
No files matched your search
@@ -33,6 +33,7 @@ export default class Subtitle {
|
||||
|
||||
if ($video.textTracks && $video.textTracks[0]) {
|
||||
const [track] = $video.textTracks;
|
||||
// eslint-disable-next-line no-inner-declarations
|
||||
function updateSubtitle() {
|
||||
const [cue] = track.activeCues;
|
||||
$subtitle.innerHTML = '';
|
||||
|
||||
Reference in new issue
Block a user