mirror of
https://github.com/signynt/virtual-content.git
synced 2026-07-22 05:46:44 +00:00
Fixed linting errors
This commit is contained in:
parent
a562a6de9d
commit
5ee6617053
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -877,7 +877,7 @@ export default class VirtualFooterPlugin extends Plugin {
|
|||
}
|
||||
}
|
||||
|
||||
const embedContainer = embed.closest('.markdown-embed') as HTMLElement | null;
|
||||
const embedContainer = embed.closest<HTMLElement>('.markdown-embed');
|
||||
const scopedContainer = embedContainer || embed;
|
||||
const embedLink = scopedContainer.querySelector<HTMLAnchorElement>('.markdown-embed-link a.internal-link[data-href]');
|
||||
const embedLinkHref = embedLink?.dataset?.href;
|
||||
|
|
|
|||
Loading…
Reference in a new issue