Skip to content

Commit 3e00005

Browse files
committed
Now clears tooltips on mouseenter as well as mouseleave. This might fix issue with sticky tooltip
1 parent 9e6b187 commit 3e00005

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/src/ng-annotate.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ ngAnnotate.directive "ngAnnotate", ($rootScope, $compile, $http, $q, NGAnnotatio
366366
$target = angular.element event.target
367367
targetId = if (attrId = $target.attr("data-annotation-id"))? then parseInt(attrId, 10)
368368

369+
clearTooltips()
370+
369371
if not targetId?
370372
return
371373

0 commit comments

Comments
 (0)