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

Commit 32c4704

Browse files
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 #2951 Fixes #2959
1 parent b4832c4 commit 32c4704

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tooltip/tooltip.js

Lines changed: 0 additions & 1 deletion
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)