Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(tabs): calls on-select for the initially selected item
Browse files Browse the repository at this point in the history
Closes #3169
  • Loading branch information
Robert Messerle committed Jun 11, 2015
1 parent ca2d5b7 commit cc1d9d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/tabs/js/tabsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function MdTabsController ($scope, $element, $window, $timeout, $mdConstant, $md
updateHeightFromContent();
adjustOffset();
updatePagination();
ctrl.tabs[$scope.selectedIndex] && ctrl.tabs[$scope.selectedIndex].scope.select();
loaded = true;
});
}
Expand Down

0 comments on commit cc1d9d2

Please sign in to comment.