mirror of
https://github.com/rmellmer/obsidian-link-range.git
synced 2026-07-22 07:40:31 +00:00
Fix build
This commit is contained in:
parent
d4ec5a7da8
commit
b5447e5502
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -46,7 +46,7 @@ export default class LinkRange extends Plugin {
|
|||
) {
|
||||
// parse link using the added range-href field
|
||||
const res = checkLink(targetEl, settings, "range-href")
|
||||
if (res !== false) {
|
||||
if (res !== null) {
|
||||
old.call(this, parent, targetEl, res.note, path, {scroll:res.h1Line}, ...args)
|
||||
} else {
|
||||
old.call(this, parent, targetEl, linkText, path, state, ...args);
|
||||
|
|
|
|||
Loading…
Reference in a new issue