mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user