From 610b04406f635cfb3c2f958f61ce716de21b04f4 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 03 Dec 2023 00:54:09 +0000
Subject: [PATCH] fix: incorrect test
---
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