Skip to content

Commit

Permalink
fixed small bug happened during the removal of the toggleClass for hover
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisp committed Aug 15, 2012
1 parent ad8d074 commit 46a315d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/workers/zebra.js
Expand Up @@ -281,11 +281,11 @@
if (!opts.nohover) {
$(lstDlItems).on('mouseleave focusout', function (e) {
e.stopPropagation();
$(this).removeClass('list-hover');
$($(this).data().dlitem).removeClass('list-hover');
});
$(lstDlItems).on('mouseenter focusin', function (e) {
e.stopPropagation();
$(this).addClass('list-hover');
$($(this).data().dlitem).addClass('list-hover');
});
}
} else {
Expand Down

0 comments on commit 46a315d

Please sign in to comment.