Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(downloader): 2450 jquery :hover error
Browse files Browse the repository at this point in the history
Closes #2450
  • Loading branch information
Christine Yu committed May 31, 2016
1 parent 46d8a65 commit 3aab1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/files/files.directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module ngApp.files.directives {
$element.on('mouseenter', () => togglePopover(true));

$element.on('mouseleave', _.debounce(() => {
if (!$('.popover').is(':hover')) togglePopover(false);
if ($('.popover#hover').length === 0) togglePopover(false);
}, 700));

$scope.active = false;
Expand Down

0 comments on commit 3aab1dd

Please sign in to comment.