From 54b4a5567c8c12d4d00a4f782f4a597a2433be73 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 03 Dec 2023 00:55:38 +0000
Subject: [PATCH] fix: fmt

---
 quartz/components/scripts/popover.inline.ts |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/quartz/components/scripts/popover.inline.ts b/quartz/components/scripts/popover.inline.ts
index 371563b..08668ae 100644
--- a/quartz/components/scripts/popover.inline.ts
+++ b/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())

--
Gitblit v1.10.0