Skip to content

Commit

Permalink
fix(tooltip): add display block to style
Browse files Browse the repository at this point in the history
- Adds style override to fix `display: none` being set by Bootstrap's
  CSS

Closes angular-ui#4363
Closes angular-ui#4379
  • Loading branch information
RobJacobs authored and NealHaggard committed Oct 7, 2015
1 parent 72cb1d6 commit 2a2b057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.b
'animation="animation" '+
'is-open="isOpen"'+
'origin-scope="origScope" '+
'style="visibility: hidden"'+
'style="visibility: hidden; display: block;"'+
'>'+
'</div>';

Expand Down Expand Up @@ -148,7 +148,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.b

ttCss.width = ttBox.width + 'px';
ttCss.height = ttBox.height + 'px';

ttCss.visibility = 'visible';

// Now set the calculated positioning and size.
Expand Down

0 comments on commit 2a2b057

Please sign in to comment.