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 49: Line 49:
$(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();
                                         }
                                         }
Line 67: Line 67:
$(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();
                                         }
                                         }

Revision as of 15:23, 23 October 2013