From b5fec6c87f2060884425607c0c4de5eededbb30f Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Fri, 1 Dec 2023 09:00:47 -0800 Subject: [PATCH] feat: allow popovers on intrapage links (closes #243) --- quartz/components/scripts/popover.inline.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/quartz/components/scripts/popover.inline.ts b/quartz/components/scripts/popover.inline.ts index 371563ba9..08668ae8f 100644 --- a/quartz/components/scripts/popover.inline.ts +++ b/quartz/components/scripts/popover.inline.ts @@ -32,8 +32,6 @@ async function mouseEnterHandler( 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())