1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-29 09:41:23 +00:00

feat: add more plausible events

This commit is contained in:
Jacky Zhao
2023-02-05 11:34:39 -08:00
parent a73aca8ed9
commit 11959de11c
5 changed files with 63 additions and 22 deletions

View File

@@ -64,6 +64,11 @@ function initPopover(baseURL, useContextualBacklinks) {
})
el.classList.add("visible")
plausible("Popover Hover", {
props: {
href: li.dataset.src
}
})
})
li.addEventListener("mouseout", () => {
el.classList.remove("visible")