From 8831694084d3cf846653982fec14a1027269a86d Mon Sep 17 00:00:00 2001 From: RobJacobs Date: Tue, 8 Sep 2015 14:13:28 -0400 Subject: [PATCH] fix(tooltip): add display block to style - Adds style override to fix `display: none` being set by Bootstrap's CSS Closes #4363 Closes #4379 --- src/tooltip/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tooltip/tooltip.js b/src/tooltip/tooltip.js index f1651af01e..cd6b75acfc 100644 --- a/src/tooltip/tooltip.js +++ b/src/tooltip/tooltip.js @@ -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;"'+ '>'+ ''; @@ -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.