fix(browser-extension): minor bug
This commit is contained in:
parent
9877124bcd
commit
47b05cf326
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Cookie Dialog Monster",
|
||||
"version": "7.2.0",
|
||||
"version": "7.2.1",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_appDesc__",
|
||||
"icons": {
|
||||
|
@ -406,7 +406,7 @@ function run(params = {}) {
|
||||
if (params.elements === undefined && params.containers?.length) {
|
||||
clean(
|
||||
params.containers
|
||||
.flatMap((container) => document.querySelector(container).children)
|
||||
.flatMap((container) => document.querySelector(container)?.children ?? [])
|
||||
.flatMap((node) => filterNodeEarly(node))
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user