mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
This commit is contained in:
parent
90f1798dff
commit
83e3467dea
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ export class BlockPanel {
|
|||
this.isBacklink = options.isBacklink;
|
||||
|
||||
this.element = document.createElement("div");
|
||||
this.element.style.zIndex = (++window.siyuan.zIndex).toString();
|
||||
this.element.classList.add("block__popover");
|
||||
|
||||
const parentElement = hasClosestByClassName(this.targetElement, "block__popover", true);
|
||||
|
|
@ -305,6 +304,7 @@ export class BlockPanel {
|
|||
}
|
||||
}
|
||||
this.element.classList.add("block__popover--open");
|
||||
this.element.style.zIndex = (++window.siyuan.zIndex).toString();
|
||||
} : undefined);
|
||||
} else {
|
||||
observer.observe(item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue