🐛
This commit is contained in:
parent
ea7fc4ea8e
commit
9916fe7f65
1 changed files with 2 additions and 2 deletions
|
@ -254,7 +254,7 @@ export class BlockPanel {
|
|||
showMessage(response.msg);
|
||||
return;
|
||||
}
|
||||
if (this.targetElement) {
|
||||
if (!this.targetElement) {
|
||||
return;
|
||||
}
|
||||
const action = [];
|
||||
|
@ -313,7 +313,7 @@ export class BlockPanel {
|
|||
}
|
||||
|
||||
private render() {
|
||||
if (!this.element.parentElement.parentElement) {
|
||||
if (!document.body.contains(this.element)) {
|
||||
this.destroy();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue