This commit is contained in:
Tessier
2020-10-16 11:28:56 +02:00
parent b6ada4240f
commit 196f8058a8
@@ -68,10 +68,10 @@
dataType:'text', dataType:'text',
async: true, async: true,
success: function(data) { success: function(data) {
console.log('data', data);
if ($this.is('#ressource')) { if ($this.is('#ressource')) {
var hero = 'article .__wrapper .__hero'; var hero = 'article .__wrapper .__hero';
var head = 'article .__wrapper .__head'; var head = 'article .__wrapper .__head';
console.log('data', $(data).find(hero));
$(data).find(hero +','+ head).appendTo('.side_notes > div a').hide().fadeIn(200); $(data).find(hero +','+ head).appendTo('.side_notes > div a').hide().fadeIn(200);
$("<div class='close'></div>").appendTo(".side_notes > div"); $("<div class='close'></div>").appendTo(".side_notes > div");