Skip to content

Commit

Permalink
Update es5 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed Feb 28, 2018
1 parent 2eae3a9 commit ea295a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions NonBlock.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@
}
}
}, true);
document.body.addEventListener('mouseover', function (ev) {
if (isNonBlocking(ev.target) && isNotPropagating(ev.target)) {
ev.stopPropagation();
}
}, true);
document.body.addEventListener('mouseout', function (ev) {
if (isNonBlocking(ev.target) && isNotPropagating(ev.target)) {
ev.stopPropagation();
}
}, true);
document.body.addEventListener('mousemove', function (ev) {
if (isNonBlocking(ev.target)) {
nonblockPass(ev.target, ev, 'onmousemove');
Expand Down

0 comments on commit ea295a3

Please sign in to comment.