修复subtitle:update事件

This commit is contained in:
zhw2590582 committed 2019-11-21 20:40:02 +08:00
1 parent 965fccb985
commit d512d9f8f0
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -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",