mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 12:50:16 +01:00
This commit is contained in:
parent
c88f99646c
commit
508eb93183
33 changed files with 111 additions and 108 deletions
|
|
@ -337,7 +337,7 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
|||
element.addEventListener("click", (event: MouseEvent) => {
|
||||
let target = event.target as HTMLElement;
|
||||
const searchPathInputElement = element.querySelector("#searchPathInput");
|
||||
while (target && (target !== element)) {
|
||||
while (target && target !== element) {
|
||||
const type = target.getAttribute("data-type");
|
||||
if (type === "removeCriterion") {
|
||||
updateConfig(element, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue