Skip to content

Commit

Permalink
Merge pull request angular-ui#3169 from Hypercubed/master
Browse files Browse the repository at this point in the history
fix(tooltip): Fix for issue angular-ui#3167
  • Loading branch information
karianna committed Jan 8, 2015
2 parents f671e02 + 1ac9646 commit 0938d3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
hide();
}
});

attrs.$observe( 'disabled', function ( val ) {
if (val && ttScope.isOpen ) {
hide();
}
});

attrs.$observe( prefix+'Title', function ( val ) {
ttScope.title = val;
Expand Down

0 comments on commit 0938d3f

Please sign in to comment.