From b413a226a4a4d726fff7ee80950a59ebe5e03171 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 b6666fd320..4fbddcdc81 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.