This commit is contained in:
@@ -428,9 +428,12 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
||||
if($(".page-node-type-static").length > 0){
|
||||
$(".field_titre").on("click", function(){
|
||||
let elem = $(this).find('div:not([class])').html();
|
||||
console.log(elem);
|
||||
$(".block-region-second").find(".field_titre").each(function(){
|
||||
let title = $(this).html();
|
||||
|
||||
if($(".field_groupe_documents").length > 0){
|
||||
title = $($(title)[2]).html();
|
||||
}
|
||||
if(title == elem){
|
||||
$('html,body').animate({
|
||||
scrollTop: $(this).offset().top
|
||||
|
Reference in New Issue
Block a user