Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apvarun/showcase-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/footer.html4
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}`)