mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 09:54:07 +01:00
This commit is contained in:
parent
c88f99646c
commit
508eb93183
33 changed files with 111 additions and 108 deletions
|
|
@ -71,7 +71,7 @@ export const makeCard = (app: App, ids: string[]) => {
|
|||
dialog.element.setAttribute("data-key", Constants.DIALOG_MAKECARD);
|
||||
dialog.element.addEventListener("click", (event) => {
|
||||
let target = event.target as HTMLElement;
|
||||
while (target && (target !== dialog.element)) {
|
||||
while (target && target !== dialog.element) {
|
||||
const type = target.getAttribute("data-type");
|
||||
if (type === "create") {
|
||||
let msgId = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue