mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
This commit is contained in:
parent
443c1423d8
commit
ccff6efc98
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export const removeSearchMark = (element: HTMLElement) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (element.getAttribute("data-type").includes("search-mark")) {
|
if ((element.getAttribute("data-type") || "").includes("search-mark")) {
|
||||||
element.setAttribute("data-type", element.getAttribute("data-type").replace("search-mark", "").trim());
|
element.setAttribute("data-type", element.getAttribute("data-type").replace("search-mark", "").trim());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue