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 33: | Line 33: | ||
$(this).remove(); | $(this).remove(); | ||
if($(this).parent().length === 0){ | if($(this).parent().length === 0){ | ||
console.log($(this).parent()); | console.log($(this).parent().parent()); | ||
$(this).parent().remove(); | $(this).parent().remove(); | ||
} | } |