feat(tag): style on hover

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-14 15:22:50 +01:00
parent fce56f5088
commit 2621bc5978
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
6 changed files with 23 additions and 10 deletions

View file

@ -1,7 +1,7 @@
function setupEvents() {
document.querySelectorAll<HTMLElement>(".tag")?.forEach(t => {
t.addEventListener("click", _ => {
t.classList.toggle("active")
// t.classList.toggle("active")
})
})