summaryrefslogtreecommitdiff
path: root/js/dom_util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dom_util.ts')
-rw-r--r--js/dom_util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dom_util.ts b/js/dom_util.ts
index 85a33fad1..725a35aaf 100644
--- a/js/dom_util.ts
+++ b/js/dom_util.ts
@@ -50,7 +50,7 @@ export function isShadowInclusiveAncestor(
export function getRoot(
node: domTypes.EventTarget | null
): domTypes.EventTarget | null {
- let root = node;
+ const root = node;
// for (const ancestor of domSymbolTree.ancestorsIterator(node)) {
// root = ancestor;