fix(tabs): reference parent instead of parentTabs

This commit is contained in:
Brandy Carney
2016-06-21 14:11:38 -04:00
parent 603000fa72
commit ed6d0fa13b

View File

@ -233,9 +233,9 @@ export class Tab extends NavController {
parent.add(this); parent.add(this);
if (parentTabs.rootNav) { if (parent.rootNav) {
this._sbEnabled = parentTabs.rootNav.isSwipeBackEnabled(); this._sbEnabled = parent.rootNav.isSwipeBackEnabled();
} }
this._panelId = 'tabpanel-' + this.id; this._panelId = 'tabpanel-' + this.id;
this._btnId = 'tab-' + this.id; this._btnId = 'tab-' + this.id;