From b20d8243deba98ac5e32445758d519dcda1fa830 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 24 Oct 2013 13:30:33 -0500 Subject: [PATCH] Fixed tab dedmo --- dist/js/ionic-angular.js | 2 +- js/ext/angular/src/directive/ionicTabBar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index 661736e8b5..594a8dc65a 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -860,7 +860,7 @@ angular.module('ionic.ui.tabs', ['ngAnimate']) }; this.select = function(controllerIndex) { - var oldIndex = _this.getSelectedIndex(); + //var oldIndex = _this.getSelectedIndex(); $scope.activeAnimation = $scope.animation; /* diff --git a/js/ext/angular/src/directive/ionicTabBar.js b/js/ext/angular/src/directive/ionicTabBar.js index 7598a86edf..173f1fdf65 100644 --- a/js/ext/angular/src/directive/ionicTabBar.js +++ b/js/ext/angular/src/directive/ionicTabBar.js @@ -19,7 +19,7 @@ angular.module('ionic.ui.tabs', ['ngAnimate']) }; this.select = function(controllerIndex) { - var oldIndex = _this.getSelectedIndex(); + //var oldIndex = _this.getSelectedIndex(); $scope.activeAnimation = $scope.animation; /*