@@ -339,6 +339,7 @@ Polymer({
339
339
*/
340
340
attached : function ( ) {
341
341
this . _findTarget ( ) ;
342
+ this . listen ( this . $ . tooltip , 'animationend' , '_onAnimationEnd' ) ;
342
343
} ,
343
344
344
345
/**
@@ -347,6 +348,7 @@ Polymer({
347
348
detached : function ( ) {
348
349
if ( ! this . manualMode )
349
350
this . _removeListeners ( ) ;
351
+ this . unlisten ( this . $ . tooltip , 'animationend' , '_onAnimationEnd' ) ;
350
352
} ,
351
353
352
354
/**
@@ -496,7 +498,6 @@ Polymer({
496
498
this . listen ( this . _target , 'blur' , 'hide' ) ;
497
499
this . listen ( this . _target , 'tap' , 'hide' ) ;
498
500
}
499
- this . listen ( this . $ . tooltip , 'animationend' , '_onAnimationEnd' ) ;
500
501
this . listen ( this , 'mouseenter' , 'hide' ) ;
501
502
} ,
502
503
@@ -582,7 +583,6 @@ Polymer({
582
583
this . unlisten ( this . _target , 'blur' , 'hide' ) ;
583
584
this . unlisten ( this . _target , 'tap' , 'hide' ) ;
584
585
}
585
- this . unlisten ( this . $ . tooltip , 'animationend' , '_onAnimationEnd' ) ;
586
586
this . unlisten ( this , 'mouseenter' , 'hide' ) ;
587
587
}
588
588
} ) ;
0 commit comments