Jacky Zhao
2023-12-01 b5fec6c87f2060884425607c0c4de5eededbb30f
feat: allow popovers on intrapage links (closes #243)
1 files modified
2 ■■■■■ changed files
quartz/components/scripts/popover.inline.ts 2 ●●●●● patch | view | raw | blame | history
quartz/components/scripts/popover.inline.ts
@@ -32,8 +32,6 @@
  const hash = targetUrl.hash
  targetUrl.hash = ""
  targetUrl.search = ""
  // prevent hover of the same page
  if (thisUrl.toString() === targetUrl.toString()) return
  const contents = await fetch(`${targetUrl}`)
    .then((res) => res.text())