log ajax
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user