Dumb dumb dumb dumb dumb

This commit is contained in:
Max Lynch
2013-11-18 10:14:34 -06:00
parent f0b7ef6f89
commit fd0e24def9
3 changed files with 11 additions and 7 deletions

View File

@ -24624,6 +24624,7 @@ angular.module('ionic.ui.tabs', ['ngAnimate'])
$scope.$watch('isVisible', function(value) {
if(childElement) {
$animate.leave(childElement);
$scope.$broadcast('tab.hidden');
childElement = undefined;
}
if(childScope) {
@ -24636,6 +24637,8 @@ angular.module('ionic.ui.tabs', ['ngAnimate'])
childElement = clone;
childElement.addClass('view-full');
$animate.enter(clone, $element.parent(), $element);
$scope.$broadcast('tab.shown');
});
}
});