mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
Fix regression from 0edf53f508 (diff-a51c8c4aedf62ea9aec5e71f3b1427c3R624)
This commit is contained in:
parent
7021ede546
commit
b0fb6d678d
@ -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)
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user