Fix forEach function

This commit is contained in:
zhw2590582 committed 2022-01-07 18:41:25 +08:00
1 parent ad76a2b637
commit 9bc87eb0e2
7 files changed
+11 -21

No files matched your search

+1 -3
View File
@@ -27,9 +27,7 @@ export default class Plugins {
this.add(localSubtitle);
}
art.option.plugins.forEach((plugin) => {
this.add(plugin);
});
art.option.plugins.forEach((plugin) => this.add(plugin));
}
add(plugin) {