mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🚨
This commit is contained in:
parent
ddeeba87e7
commit
17f6ab335b
4 changed files with 8 additions and 8 deletions
|
|
@ -116,7 +116,7 @@ export class Menu {
|
|||
return;
|
||||
}
|
||||
if (typeof index === "number") {
|
||||
const insertElement = this.element.querySelectorAll(".b3-menu__items > .b3-menu__separator")[index]
|
||||
const insertElement = this.element.querySelectorAll(".b3-menu__items > .b3-menu__separator")[index];
|
||||
if (insertElement) {
|
||||
insertElement.before(element);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue