Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen committed Jan 8, 2014
1 parent ca2e3e8 commit 96d5da1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ui-bootstrap-tpls-0.5.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -2673,10 +2673,14 @@ function($parse, $http, $templateCache, $compile) {
if (!scope.$eval(attrs.tabsetTitles)) {
elm.remove();
} else {
//now that tabs location has been decided, transclude the tab titles in
tabsetCtrl.$transcludeFn(tabsetCtrl.$scope.$parent, function(node) {
elm.append(node);
});
// reference: https://github.com/angular-ui/bootstrap/issues/783
setTimeout(function() {
//now that tabs location has been decided, transclude the tab titles in
tabsetCtrl.$transcludeFn(tabsetCtrl.$scope.$parent, function(node) {
elm.append(node);
});
scope.$apply();
},1);
}
}
};
Expand Down

0 comments on commit 96d5da1

Please sign in to comment.