Skip to content

Commit 1c76060

Browse files
committed
only add class to top cards
1 parent 88181a8 commit 1c76060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/70-docs-ndl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ document.addEventListener('DOMContentLoaded', function () {
1313
})
1414

1515
// add a class to the link itself for tracking
16-
document.querySelectorAll('.cards .link a').forEach(function (a) {
16+
document.querySelectorAll('.cards:not(.bottom-cards) .link a').forEach(function (a) {
1717
a.classList.add('card-link')
1818
})
1919

0 commit comments

Comments
 (0)