mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 13:21:33 +08:00
fix(link): Allow external links containing # to open
This commit is contained in:
parent
a5ba1b0489
commit
69d1c1519f
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ export function parseNavigationStateFromUrl(url: string | undefined) {
|
|||
}
|
||||
|
||||
// Exclude external links that contain #
|
||||
if (hashIdx !== 0 && !url.includes("/#root")) {
|
||||
if (hashIdx !== 0 && !url.includes("/#root") && !url.includes("/#?searchString")) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue