summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-28 22:07:11 -0400
committerGitHub <noreply@github.com>2021-04-28 22:07:11 -0400
commit69a739f00a335496e9222b4758d9c8bf2190df92 (patch)
treeb1b890622c03d7e95f1aee3a350b752448749841 /ext/js/pages/settings
parent0a7def1c014cbab895dc61da7cf7be477676e8cf (diff)
Use childNodes instead of children (#1638)
Diffstat (limited to 'ext/js/pages/settings')
-rw-r--r--ext/js/pages/settings/permissions-origin-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/settings/permissions-origin-controller.js b/ext/js/pages/settings/permissions-origin-controller.js
index adb4c1d9..d7ba0494 100644
--- a/ext/js/pages/settings/permissions-origin-controller.js
+++ b/ext/js/pages/settings/permissions-origin-controller.js
@@ -71,7 +71,7 @@ class PermissionsOriginController {
const menuButton = node.querySelector('.permissions-origin-button');
input.value = origin;
this._eventListeners.addEventListener(menuButton, 'menuClose', this._onOriginMenuClose.bind(this, origin), false);
- this._originContainerChildren.push(...node.children);
+ this._originContainerChildren.push(...node.childNodes);
fragment.appendChild(node);
any = true;
}