css refactor :]

This commit is contained in:
ari melody 2026-03-23 21:32:25 +00:00
parent 81ab7856c6
commit 6e5aad77dd
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E
5 changed files with 146 additions and 158 deletions

View file

@ -1,4 +1,4 @@
export function hijackClickEvent(container, link) {
export function hijackClickEvent(container, link) {
container.addEventListener('click', event => {
if (event.target.tagName.toLowerCase() === 'a') return;
event.preventDefault();