style(tabs): fix typo

This commit is contained in:
Adam Bradley
2014-09-16 07:48:42 -05:00
parent 68de8ed910
commit 37d75f7f5d
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ function($rootScope, $animate, $ionicBind, $compile) {
tabsCtrl.add($scope);
$scope.$on('$destroy', function() {
if(!$scope.$tabsDestory) {
if(!$scope.$tabsDestroy) {
// if the containing ionTabs directive is being destroyed
// then don't bother going through the controllers remove
// method, since remove will reset the active tab as each tab

View File

@@ -79,7 +79,7 @@ function($ionicViewService, $ionicTabsDelegate, $ionicTabsConfig) {
// used so that while destorying an individual tab, each one
// doesn't select the next tab as the active one, which causes unnecessary
// loading of tab views when each will eventually all go away anyway
$scope.$tabsDestory = true;
$scope.$tabsDestroy = true;
deregisterInstance();
});