From e482fa10970fd6a0c1c0ec836db84ba4187bc8f7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 06 Apr 2023 22:06:01 +0000
Subject: [PATCH] fix: graph and tooltip sometimes not showing

---
 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