Skip to content

Commit

Permalink
Merge pull request #16 from valor-software/development
Browse files Browse the repository at this point in the history
fix(tabs): fix removing tabs in IE (valor-software#2145)
  • Loading branch information
GulajavaMinistudio authored Jul 13, 2017
2 parents a3b8a50 + fc5e135 commit 61a088f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tabs/tabset.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export class TabsetComponent implements OnDestroy {
tab.removed.emit(tab);
}
this.tabs.splice(index, 1);
if(tab.elementRef.nativeElement && tab.elementRef.nativeElement.remove) {
tab.elementRef.nativeElement.remove();
if (tab.elementRef.nativeElement.parentNode) {
tab.elementRef.nativeElement.parentNode.removeChild(tab.elementRef.nativeElement);
}
}

Expand Down

0 comments on commit 61a088f

Please sign in to comment.