mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 14:56:09 +01:00
This commit is contained in:
parent
ae2d70f706
commit
594f2935dd
3 changed files with 8 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ export class Menu {
|
|||
}
|
||||
this.menu.remove();
|
||||
if (!this.isOpen) {
|
||||
this.menu.element.setAttribute("data-name", id);
|
||||
this.menu.element.setAttribute("data-name", id || "");
|
||||
this.menu.removeCB = closeCB;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue