From d96d53ec328c02e3e01e4e3d5ff9e3508fed1415 Mon Sep 17 00:00:00 2001 From: robjacobs Date: Tue, 12 Apr 2016 09:22:30 -0400 Subject: [PATCH] fix(tooltip): arrow position - Ensure the arrow position gets recalculated if the tooltip position changes while open. Closes #5785 Fixes #5779 --- src/tooltip/tooltip.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tooltip/tooltip.js b/src/tooltip/tooltip.js index 1f99b0de6f..bdee80415d 100644 --- a/src/tooltip/tooltip.js +++ b/src/tooltip/tooltip.js @@ -450,8 +450,6 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s observers.push( attrs.$observe(prefix + 'Placement', function(val) { ttScope.placement = val ? val : options.placement; - var placement = $position.parsePlacement(ttScope.placement); - lastPlacement = placement[1] ? placement[0] + '-' + placement[1] : placement[0]; if (ttScope.isOpen) { positionTooltip(); }