mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
修复subtitle:update事件
This commit is contained in:
1 parent
965fccb985
commit
d512d9f8f0
2 files changed
+2
-3
No files matched your search
@@ -3247,9 +3247,8 @@
|
||||
$subtitle.innerHTML = this.activeCue.text.split(/\r?\n/).map(function (item) {
|
||||
return "<p>".concat(item, "</p>");
|
||||
}).join('');
|
||||
this.art.emit('subtitle:update', this.activeCue.text);
|
||||
}
|
||||
|
||||
this.art.emit('subtitle:update', this.activeCue.text);
|
||||
}
|
||||
}, {
|
||||
key: "switch",
|
||||
|
||||
Reference in new issue
Block a user