feat: allow popovers on intrapage links (closes #243)

This commit is contained in:
Jacky Zhao 2023-12-01 09:00:47 -08:00
parent 0d314db1f8
commit b5fec6c87f

View File

@ -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())