Skip to content

Commit 5dc8e8e

Browse files
chrisirhcOron Nadiv
authored and
Oron Nadiv
committed
fix(tooltip): remove extra digest causing incompatibility
In Angular 1.3.1, when using tooltips with ngAnimate, this extra $digest call seems to break ngClass. This is an extra call to ngAnimate and it shouldn’t be called since the tooltip hasn’t been added to the DOM. I was unable to create a test case to test compatibility with ngAnimate. Fixes angular-ui#2951 Fixes angular-ui#2959
1 parent f86999f commit 5dc8e8e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tooltip/tooltip.js

-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
237237
}
238238
tooltipLinkedScope = ttScope.$new();
239239
tooltip = tooltipLinker(tooltipLinkedScope, angular.noop);
240-
ttScope.$digest();
241240
}
242241

243242
function removeTooltip() {

0 commit comments

Comments
 (0)