Skip to content

Commit 31b2b85

Browse files
committed
Revert to not(.nav-link) with correct syntax
1 parent e9aced6 commit 31b2b85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/resources/formats/html/templates/quarto-html.ejs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ window.document.addEventListener("DOMContentLoaded", function (event) {
386386
return filterRegex.test(href) || localhostRegex.test(href);
387387
}
388388
// Inspect non-navigation links and adorn them if external
389-
var links = window.document.querySelectorAll('a:not(nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item)');
389+
var links = window.document.querySelectorAll('a:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item)');
390390
for (var i=0; i<links.length; i++) {
391391
const link = links[i];
392392
if (!isInternal(link.href)) {

0 commit comments

Comments
 (0)