quartz-research-note/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 chore: add window.addCleanup() for cleaning up handlers 2024-02-01 21:19:51 -08:00
checkbox.inline.ts feat: support checkbox (closes #646) (#799) 2024-02-04 22:19:25 -08:00
clipboard.inline.ts chore(cleanup): misc refactoring for cleanup, fix some search bugs 2024-02-01 23:55:11 -08:00
darkmode.inline.ts chore(cleanup): misc refactoring for cleanup, fix some search bugs 2024-02-01 23:55:11 -08:00
explorer.inline.ts chore: add window.addCleanup() for cleaning up handlers 2024-02-01 21:19:51 -08:00
graph.inline.ts homepage coloured as visited in the Graph (#1128) 2024-06-12 09:39:49 -07:00
popover.inline.ts Fix Non-English Anchor Popover Positioning Issue and Update Type Hint (#1252) 2024-07-08 13:34:43 -07:00
search.inline.ts feat(search): add search by title/content index and tag at the same time (#978) 2024-03-17 17:48:00 -07:00
spa.inline.ts chore: add window.addCleanup() for cleaning up handlers 2024-02-01 21:19:51 -08:00
toc.inline.ts chore: add window.addCleanup() for cleaning up handlers 2024-02-01 21:19:51 -08:00
util.ts chore: add window.addCleanup() for cleaning up handlers 2024-02-01 21:19:51 -08:00