From 4294966dada59ddf7b1b19cb6cbf2eec0e1ae395 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 24 Sep 2015 14:36:08 -0500 Subject: [PATCH] fix(tabs): correct enableBack ref --- ionic/components/tabs/tabs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ionic/components/tabs/tabs.ts b/ionic/components/tabs/tabs.ts index 346512ec2e..06dacffd6c 100644 --- a/ionic/components/tabs/tabs.ts +++ b/ionic/components/tabs/tabs.ts @@ -84,7 +84,7 @@ export class Tabs extends NavController { // a Tabs ViewController should not have a back button // enableBack back button will later be determined // by the active ViewController that has a navbar - ViewController.enableBack = () => { + viewCtrl.enableBack = () => { return false; }; }