mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -174,7 +174,7 @@ export const setDefRefCount = (data: {
|
||||
getAllEditor().forEach(item => {
|
||||
if (data.rootID === data.blockID && item.protyle.block.rootID === data.rootID) {
|
||||
const attrElement = item.protyle.title.element.querySelector(".protyle-attr");
|
||||
const countElement = attrElement.querySelector(".popover__block");
|
||||
const countElement = attrElement.querySelector(".protyle-attr--refcount");
|
||||
if (countElement) {
|
||||
if (data.refCount === 0) {
|
||||
countElement.remove();
|
||||
|
||||
Reference in New Issue
Block a user