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 jasonaden committed Sep 30, 2015
1 parent a532522 commit 8831694
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'])
'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'])

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 8831694

Please sign in to comment.