From 8c09da4294b1d9cecde3e61dd7283ab2437345d0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 13 May 2020 19:33:37 +0100 Subject: [PATCH] more s/type/nodeName/ --- src/vector/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/index.ts b/src/vector/index.ts index 4508494e62..52fcf94531 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -114,7 +114,7 @@ function monkeyPatchForReact() { const [ancestor, depth] = findAncestorWithClass(args[0]); console.log( "Caught exception from removeChild, removing node of type " + - args[0].type + ". Closest ancestor with class is a " + ancestor.nodeName + + args[0].nodeName + ". Closest ancestor with class is a " + ancestor.nodeName + " with class " + ancestor.className + " " + depth + " levels above. " + "See https://github.com/vector-im/riot-web/issues/13557", e, ); @@ -130,7 +130,7 @@ function monkeyPatchForReact() { const [ancestor, depth] = findAncestorWithClass(args[0]); console.log( "Caught exception from removeChild, removing " + args[0].nodeName + - ". Closest ancestor with class is a " + ancestor.type + + ". Closest ancestor with class is a " + ancestor.nodeName + " with class " + ancestor.class + " " + depth + " levels above. " + "See https://github.com/vector-im/riot-web/issues/13557", e, );