Skip to content

Commit c18c69f

Browse files
committed
Merge pull request #3223 from abruzzihraig/fix_tab_selected
fix(tab): set $scope.$tabSelected when nested tabs selected
2 parents 50c3465 + ec7bf20 commit c18c69f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/angular/directive/tab.js

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ function($compile, $ionicConfig, $ionicBind, $ionicViewSwitcher) {
100100
var tabsCtrl = ctrls[0];
101101
var tabCtrl = ctrls[1];
102102
var isTabContentAttached = false;
103+
$scope.$tabSelected = false;
103104

104105
$ionicBind($scope, $attr, {
105106
onSelect: '&',

0 commit comments

Comments
 (0)