mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 01:56:16 -08:00
Update setting.js
This commit is contained in:
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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user