From 6d4448ab7afc569eca6a5bf69074382d9b42bec1 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Tue, 14 Apr 2020 15:44:25 +0200 Subject: [PATCH] break for loop to fix arrow open --- src/app/ui/txLogger.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/ui/txLogger.js b/src/app/ui/txLogger.js index 288ce3429e..3af548f78a 100644 --- a/src/app/ui/txLogger.js +++ b/src/app/ui/txLogger.js @@ -356,7 +356,9 @@ function txDetails (e, tx, data, obj) { let blockElement = e.target while (true) { // get the parent block element if (blockElement.className.startsWith('block')) break - else blockElement = blockElement.parentElement + else if (blockElement.parentElement) { + blockElement = blockElement.parentElement + } else break } let table = blockElement.querySelector(`#${tx.id} [class^="txTable"]`)