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){ | ||
$(this).remove(); | |||
} | } | ||
}); | }); | ||
Line 54: | Line 52: | ||
$(this).remove(); | $(this).remove(); | ||
} | } | ||
clearEmptyDivs(); | |||
}); | }); | ||
}); | }); | ||
Line 68: | Line 67: | ||
$(this).remove(); | $(this).remove(); | ||
} | } | ||
clearEmptyDivs(); | |||
}); | }); | ||
}); | }); |