diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html index c27fc4071..37105da88 100644 --- a/layouts/partials/javascript.html +++ b/layouts/partials/javascript.html @@ -403,7 +403,7 @@ () => { "use strict"; const hash = (window.location.hash).slice(1); - const cardContents = document.querySelectorAll(".card-content"); + const cardContents = document.querySelectorAll(".card-content-dropdown"); cardContents.forEach((item) => { const id = item.getAttribute("id"); if (hash === id) { diff --git a/layouts/shortcodes/faq20.html b/layouts/shortcodes/faq20.html index 373b0e1cf..75c294338 100644 --- a/layouts/shortcodes/faq20.html +++ b/layouts/shortcodes/faq20.html @@ -13,7 +13,7 @@