rizaldy.club/quartz/components/scripts
Cao Mingjun 4eeacb7fbf
Fix Non-English Anchor Popover Positioning Issue and Update Type Hint (#1252)
- [Major] Changed `hash` passed to `querySelector` to `decodeURIComponent(hash)` to fix the issue where non-English anchors were not correctly positioning the popover content to the corresponding title.
- [Minor] Updated the type hint from `HTMLLinkElement` to `HTMLAnchorElement` as the passed element is an `<a>` element, not a `<link>` element (reference: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement).
2024-07-08 13:34:43 -07:00
..
callout.inline.ts
checkbox.inline.ts
clipboard.inline.ts
darkmode.inline.ts
explorer.inline.ts
graph.inline.ts
popover.inline.ts
search.inline.ts
spa.inline.ts
toc.inline.ts
util.ts