This commit is contained in:
Harvey committed 2020-05-19 13:35:54 +08:00
1 parent 175e001533
commit 3e609bb153
5 files changed
+53 -21

No files matched your search

+1 -3
View File
@@ -71,9 +71,7 @@ export default class Subtitle extends Component {
}
return fetch(url)
.then((response) => {
return response.text();
})
.then((response) => response.text())
.then((text) => {
this.art.emit('subtitle:load', url);
switch (ext || getExt(url)) {