diff --git a/web/themes/custom/popsu_colloque/js/script.js b/web/themes/custom/popsu_colloque/js/script.js index da0d5e65..717dd597 100644 --- a/web/themes/custom/popsu_colloque/js/script.js +++ b/web/themes/custom/popsu_colloque/js/script.js @@ -68,10 +68,10 @@ dataType:'text', async: true, success: function(data) { - console.log('data', data); if ($this.is('#ressource')) { var hero = 'article .__wrapper .__hero'; var head = 'article .__wrapper .__head'; + console.log('data', $(data).find(hero)); $(data).find(hero +','+ head).appendTo('.side_notes > div a').hide().fadeIn(200); $("
").appendTo(".side_notes > div");