mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 07:30:25 +00:00
fix: cannot show more context
This commit is contained in:
parent
4bad19f8f1
commit
920801bc25
2 changed files with 4 additions and 2 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -7,8 +7,6 @@ on:
|
||||||
env:
|
env:
|
||||||
PLUGIN_NAME: obsidian-float-search
|
PLUGIN_NAME: obsidian-float-search
|
||||||
|
|
||||||
permissions: write-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -811,10 +811,14 @@ class FloatSearchModal extends Modal {
|
||||||
if (targetElement.classList.contains('tree-item-icon')) {
|
if (targetElement.classList.contains('tree-item-icon')) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (targetElement.classList.contains('search-result-hover-button')) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (targetElement.classList.contains('tree-item')) {
|
if (targetElement.classList.contains('tree-item')) {
|
||||||
this.close();
|
this.close();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
targetElement = targetElement.parentElement;
|
targetElement = targetElement.parentElement;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue