Merge pull request #2730 from ethereum/terminalP

break for loop to fix arrow open
pull/1/head
yann300 5 years ago committed by GitHub
commit 01569879b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/app/ui/txLogger.js

@ -356,7 +356,9 @@ function txDetails (e, tx, data, obj) {
let blockElement = e.target let blockElement = e.target
while (true) { // get the parent block element while (true) { // get the parent block element
if (blockElement.className.startsWith('block')) break 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"]`) let table = blockElement.querySelector(`#${tx.id} [class^="txTable"]`)

Loading…
Cancel
Save