mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix regression from 0edf53f508 (diff-a51c8c4aedf62ea9aec5e71f3b1427c3R624)
This commit is contained in:
parent
7021ede546
commit
b0fb6d678d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue