diff options
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 39d8c7f..34549f1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -98,7 +98,7 @@ event.target.classList.add("active"); if (type !== "other") { document - .querySelectorAll(`nav:not(.multipage) .${type}`) + .querySelectorAll(`.${type}`) .forEach((item) => item.classList.remove("hide")); } else { document @@ -113,7 +113,7 @@ const showAll = () => { allTypes.forEach((type) => { document - .querySelectorAll(`nav:not(.multipage) .${type}`) + .querySelectorAll(`.${type}`) .forEach((item) => item.classList.remove("hide")); document .querySelectorAll(`nav:not(.multipage) .filter-${type}`) |