mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
b2a85c66c6
commit
e3d329cee8
7 changed files with 100 additions and 18 deletions
|
|
@ -59,7 +59,7 @@ export class Menus {
|
|||
break;
|
||||
}
|
||||
|
||||
if (target.classList.contains("dock__item")) {
|
||||
if (target.classList.contains("dock__item") && target.getAttribute("data-type")) {
|
||||
initDockMenu(target).popup({x: event.clientX, y: event.clientY});
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue