Tessier 3 년 전
부모
커밋
196f8058a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/themes/custom/popsu_colloque/js/script.js

+ 1 - 1
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);
             $("<div class='close'></div>").appendTo(".side_notes > div");