修复subtitle:update事件

This commit is contained in:
zhw2590582 committed 2019-11-21 20:39:25 +08:00
1 parent c933bd68e4
commit 965fccb985
1 file changed
+1 -1
+1 -1
View File
@@ -39,8 +39,8 @@ export default class Subtitle {
.split(/\r?\n/)
.map(item => `<p>${item}</p>`)
.join('');
this.art.emit('subtitle:update', this.activeCue.text);
}
this.art.emit('subtitle:update', this.activeCue.text);
}
switch(url, name = 'unknown') {