@@ -186,7 +186,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
186
186
// Set the initial positioning.
187
187
tooltip . css ( { top : 0 , left : 0 , display : 'block' } ) ;
188
188
189
- // Now we add it to the DOM because need some info about it. But it's not
189
+ // Now we add it to the DOM because need some info about it. But it's not
190
190
// visible yet anyway.
191
191
if ( appendToBody ) {
192
192
$document . find ( 'body' ) . append ( tooltip ) ;
@@ -214,7 +214,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
214
214
$timeout . cancel ( popupTimeout ) ;
215
215
popupTimeout = null ;
216
216
217
- // And now we remove it from the DOM. However, if we have animation, we
217
+ // And now we remove it from the DOM. However, if we have animation, we
218
218
// need to wait for it to expire beforehand.
219
219
// FIXME: this is a placeholder for a port of the transitions library.
220
220
if ( scope . tt_animation ) {
@@ -231,10 +231,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
231
231
if ( tooltip ) {
232
232
removeTooltip ( ) ;
233
233
}
234
- tooltip = tooltipLinker ( scope , function ( ) { } ) ;
235
-
236
- // Get contents rendered into the tooltip
237
- scope . $digest ( ) ;
234
+ tooltip = tooltipLinker ( scope ) ;
238
235
}
239
236
240
237
function removeTooltip ( ) {
0 commit comments