From 196f8058a8d52286bf0770acef6b11654d0ea281 Mon Sep 17 00:00:00 2001 From: Tessier Date: Fri, 16 Oct 2020 11:28:56 +0200 Subject: [PATCH] log ajax --- web/themes/custom/popsu_colloque/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");