🎨 PNPM Lint

This commit is contained in:
Daniel 2025-01-16 10:00:30 +08:00
parent b5a60fc1fa
commit 6f98849e9c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 8 additions and 12 deletions

View file

@ -1,9 +1,5 @@
import {getAllModels} from "../../layout/getAll";
import {
hasClosestByAttribute,
hasClosestByClassName,
hasTopClosestByClassName
} from "../../protyle/util/hasClosest";
import {hasClosestByAttribute, hasClosestByClassName, hasTopClosestByClassName} from "../../protyle/util/hasClosest";
import {hideAllElements} from "../../protyle/ui/hideElements";
import {isWindow} from "../../util/functions";
import {writeText} from "../../protyle/util/compatibility";
@ -19,7 +15,7 @@ export const globalClickHideMenu = (element: HTMLElement) => {
window.siyuan.menus.menu.remove();
}
}
}
};
export const globalClick = (event: MouseEvent & { target: HTMLElement }) => {
cancelDrag();

View file

@ -19,4 +19,4 @@ export const cancelDrag = () => {
ghostElement.remove();
document.onmousemove = null;
}
}
};