Widget:KeywordSearch: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
Line 39: Line 39:
$.each($(".query"), function(){
$.each($(".query"), function(){
if($(this).children().length === 0){
if($(this).children().length === 0){
alert('Empty');
$(this).remove();
}else{
console.log($(this).children());
}
}
});
});
Line 54: Line 52:
$(this).remove();
$(this).remove();
}
}
clearEmptyDivs();
});
});
});
});
Line 68: Line 67:
$(this).remove();
$(this).remove();
}
}
clearEmptyDivs();
});
});
});
});

Revision as of 15:32, 23 October 2013