From 3310061294ba3aaa1c7fa3a237ffe137e3ee63c8 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 Under PR #4363 the display block style was removed but the popover implementation needs that style as the bootstrap popover starts with a display of none. Closes #4363 --- 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.