Skip to content

Commit

Permalink
Update ui-bootstrap-tpls.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalyVoroshilov committed Oct 6, 2014
1 parent 49aa073 commit 677229e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui-bootstrap-tpls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,10 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
// Show the tooltip popup element.
function show() {

popupTimeout = null;
if ( popupTimeout ) {
$timeout.cancel( popupTimeout );
popupTimeout = null;
}

// If there is a pending remove transition, we must cancel it, lest the
// tooltip be mysteriously removed.
Expand Down

0 comments on commit 677229e

Please sign in to comment.