mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -400,6 +400,10 @@ export const showPopover = async (app: App, showRef = false) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (refDefs.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
let hasPin = false;
|
||||
window.siyuan.blockPanels.find((item) => {
|
||||
if ((item.targetElement || typeof item.x === "number") && item.element.getAttribute("data-pin") === "true"
|
||||
|
||||
Reference in New Issue
Block a user