From ea295a322d210f0876915cd2ac4a7102075d8e70 Mon Sep 17 00:00:00 2001 From: Hunter Perrin Date: Tue, 27 Feb 2018 17:03:16 -0800 Subject: [PATCH] Update es5 build. --- NonBlock.es5.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NonBlock.es5.js b/NonBlock.es5.js index ddf2234..92b2200 100644 --- a/NonBlock.es5.js +++ b/NonBlock.es5.js @@ -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');