This commit is contained in:
armansansd
2021-11-25 16:13:40 +01:00
parent a96ff17ae7
commit 7bbad8d84b
5 changed files with 86 additions and 55 deletions

View File

@@ -240,7 +240,12 @@ $(function(){
if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").length > 0 || $(".page-node-type-theme").length > 0){
$(".field_ressources_liees article").each(function(){
let title = $(this).find("h2").clone();
$(this).find("h2").remove();
$(this).find("div").first().append(title);
})
$('.views-element-container header').click(function(){
$(this).parent().find(".view-grouping").fadeToggle();