Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 0938d3f

Browse files
committed
Merge pull request #3169 from Hypercubed/master
fix(tooltip): Fix for issue #3167
2 parents f671e02 + 1ac9646 commit 0938d3f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/tooltip/tooltip.js

+6
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
266266
hide();
267267
}
268268
});
269+
270+
attrs.$observe( 'disabled', function ( val ) {
271+
if (val && ttScope.isOpen ) {
272+
hide();
273+
}
274+
});
269275

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

0 commit comments

Comments
 (0)