Update setting.js

This commit is contained in:
Harvey committed 2022-05-24 11:18:23 +08:00
1 parent ea2c3dc289
commit d716c31af5
1 file changed
+1 -1
@@ -172,7 +172,7 @@ export default function setting(art, danmuku) {
art.on('resize', onResize);
art.on('destroy', () => {
if (option.mount) {
if (option.mount && $emitter.parentElement === option.mount) {
option.mount.removeChild($emitter);
}
});