From 2302c35d45f6638e75058e0ec2895e60e2acedd8 Mon Sep 17 00:00:00 2001 From: Jordan Robinson Date: Tue, 13 Jan 2026 23:17:38 +0000 Subject: [PATCH] remove click listener --- index.html | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/index.html b/index.html index 8bca63bca5b95ca4e9ece7bb77d44098e6ad2e72..60682c665194af6e704eb17e51d70db607190645 100644 --- a/index.html +++ b/index.html @@ -304,20 +304,6 @@ bcName.innerText = "404"; } - document.addEventListener('click', e => { - const link = e.target.closest('a'); - if (CONFIG.USE_CLEAN_PATHS && link && link.href.startsWith(window.location.origin) && !link.getAttribute('target')) { - const url = new URL(link.href); - const hasExtension = url.pathname.includes('.') && !url.pathname.endsWith('.md'); - if (!hasExtension) { - e.preventDefault(); - log(`Link clicked: ${url.pathname}`); - history.pushState(null, '', link.href); - render(); - } - } - }); - async function generateRSS() { log("Generating full RSS feed..."); try {