revert(tabs): undo commit that removes tab sub pages

Fix advanced tabs test

This reverts
https://github.com/driftyco/ionic/commit/743de19ae898e83375b51ef9c376225
c8e63f0ef
This commit is contained in:
Brandy Carney
2016-07-28 15:28:55 -05:00
parent f3eb5fd3f2
commit 087e2f2480
11 changed files with 42 additions and 5 deletions

View File

@ -524,7 +524,7 @@ export class Content extends Ion {
ele = parentEle;
let tabbarEle: HTMLElement;
while (ele && ele.tagName !== 'ION-MODAL') {
while (ele && ele.tagName !== 'ION-MODAL' && !ele.classList.contains('tab-subpage')) {
if (ele.tagName === 'ION-TABS') {
tabbarEle = <HTMLElement>ele.firstElementChild;