From db27557aa307921cf035b7f62d9d9f2b452b1018 Mon Sep 17 00:00:00 2001
From: Md Jawad Noor Asif <jawad.asif.bd@gmail.com>
Date: Thu, 30 Mar 2023 11:14:06 +0000
Subject: [PATCH] fix: search highlight not showing because for trailing slash (#306)
---
assets/js/popover.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/assets/js/popover.js b/assets/js/popover.js
index 554291a..101d1c0 100644
--- a/assets/js/popover.js
+++ b/assets/js/popover.js
@@ -64,6 +64,11 @@
})
el.classList.add("visible")
+ plausible("Popover Hover", {
+ props: {
+ href: li.dataset.src
+ }
+ })
})
li.addEventListener("mouseout", () => {
el.classList.remove("visible")
--
Gitblit v1.10.0