mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
043511c2b8
commit
72c84f5f3d
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
|||
} else if (target.id === "searchInclude") {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
if (["", "disabled"].includes(target.getAttribute("disabled"))) {
|
||||
if (target.hasAttribute("disabled")) {
|
||||
return;
|
||||
}
|
||||
const svgElement = target.firstElementChild;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue