mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 04:34: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:
|
||||
PLUGIN_NAME: obsidian-float-search
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -811,10 +811,14 @@ class FloatSearchModal extends Modal {
|
|||
if (targetElement.classList.contains('tree-item-icon')) {
|
||||
break;
|
||||
}
|
||||
if (targetElement.classList.contains('search-result-hover-button')) {
|
||||
break;
|
||||
}
|
||||
if (targetElement.classList.contains('tree-item')) {
|
||||
this.close();
|
||||
break;
|
||||
}
|
||||
|
||||
targetElement = targetElement.parentElement;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue