summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}