From 14b23864418c16b457070101f57f4d18591f06f0 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 30 Apr 2018 13:42:46 +0200 Subject: [PATCH] rollback uneeded change --- src/app/execution/txLogger.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index 4bc16605e6..5a7c7e9994 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -317,13 +317,8 @@ function txDetails (e, tx, data, obj) { var table = document.querySelector(`#${tx.id} [class^="txTable"]`) var from = obj.from var to = obj.to - var log = e.currentTarget - for (var i = 0; i < log.children.length; i++) { - if (~log.children[i].className.indexOf('caret')) { - var caret = log.children[i] - break - } - } + var log = document.querySelector(`#${tx.id} [class^='log']`) + var caret = document.querySelector(`#${tx.id} [class^='caret']`) var caretDown = yo`` var caretRight = yo`` if (table && table.parentNode) {