This commit is contained in:
Raymond Hill 2019-01-15 08:18:45 -05:00
parent 7021ede546
commit b0fb6d678d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ const makeEventHandler = function(selector, callback) {
const receiver = event.target; const receiver = event.target;
const ancestor = receiver.closest(selector); const ancestor = receiver.closest(selector);
if ( if (
ancestor !== null && ancestor === receiver &&
ancestor !== dispatcher && ancestor !== dispatcher &&
dispatcher.contains(ancestor) dispatcher.contains(ancestor)
) { ) {