diff --git a/javascripts/application.js b/javascripts/application.js index de5fce0..98bca4e 100644 --- a/javascripts/application.js +++ b/javascripts/application.js @@ -51,7 +51,7 @@ document.addEventListener( externalLinkIcon.setAttribute("alt", "(external link)"); externalLinkIcon.setAttribute("style", "width: 1rem;"); - Array.from(document.querySelectorAll("a[href]")) + Array.from(document.querySelectorAll("main a[href]")) .filter((a) => { const href = a.getAttribute("href"); return (