Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit d96d53e

Browse files
RobJacobsdeeg
authored andcommitted
fix(tooltip): arrow position
- Ensure the arrow position gets recalculated if the tooltip position changes while open. Closes #5785 Fixes #5779
1 parent aef08d5 commit d96d53e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tooltip/tooltip.js

-2
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,6 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
450450
observers.push(
451451
attrs.$observe(prefix + 'Placement', function(val) {
452452
ttScope.placement = val ? val : options.placement;
453-
var placement = $position.parsePlacement(ttScope.placement);
454-
lastPlacement = placement[1] ? placement[0] + '-' + placement[1] : placement[0];
455453
if (ttScope.isOpen) {
456454
positionTooltip();
457455
}

0 commit comments

Comments
 (0)