This commit is contained in:
2025-05-22 21:34:22 +02:00
parent aee4ad30d6
commit b0c93b3eef
2 changed files with 21 additions and 19 deletions
File diff suppressed because one or more lines are too long
+2
View File
@@ -178,6 +178,7 @@ jQuery(function ($) {
}); });
// Scroll automatique au filtre // Scroll automatique au filtre
if (document.body.classList.contains("path-projets")) {
const form = document.querySelector(".views-exposed-form"); const form = document.querySelector(".views-exposed-form");
if (form) form.setAttribute("action", form.action.split("#")[0] + "#filtres"); if (form) form.setAttribute("action", form.action.split("#")[0] + "#filtres");
@@ -199,4 +200,5 @@ jQuery(function ($) {
} }
}); });
}); });
}
}); });