Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug in nested event param

  • Loading branch information...
commit dd812608a5cd6fae1c990faa1ffbb463ccb579b7 1 parent b1526bb
Ryan Eastridge authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/event.js
View
2  src/event.js
@@ -150,7 +150,7 @@ var domEvents = [],
domEventRegexp;
function pushDomEvents(events) {
domEvents.push.apply(domEvents, events);
- domEventRegexp = new RegExp('^(' + domEvents.join('|') + ')(?:\\s|$)');
+ domEventRegexp = new RegExp('^(nested\\s+)?(' + domEvents.join('|') + ')(?:\\s|$)');
}
pushDomEvents([
'mousedown', 'mouseup', 'mousemove', 'mouseover', 'mouseout',
Please sign in to comment.
Something went wrong with that request. Please try again.