1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-18 17:02:27 +02:00
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

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)
) { ) {