Skip to content

Commit

Permalink
Merge pull request #2730 from ethereum/terminalP
Browse files Browse the repository at this point in the history
break for loop to fix arrow open
  • Loading branch information
yann300 authored Apr 14, 2020
2 parents 3066ba8 + 6d4448a commit 0156987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/ui/txLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]`)
Expand Down

0 comments on commit 0156987

Please sign in to comment.