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