mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
🐛
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
Add a link
Reference in a new issue