mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
add elem.shadowRoot fallback in getShadowRoot
This commit is contained in:
parent
161cc473a2
commit
c8b42ea819
1 changed files with 1 additions and 1 deletions
|
|
@ -2072,7 +2072,7 @@ function trustedClickElement(
|
||||||
return chrome.dom.openOrClosedShadowRoot(elem);
|
return chrome.dom.openOrClosedShadowRoot(elem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return elem.shadowRoot;
|
||||||
};
|
};
|
||||||
|
|
||||||
const querySelectorEx = (selector, context = document) => {
|
const querySelectorEx = (selector, context = document) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue