break for loop to fix arrow open

pull/1/head
LianaHus 5 years ago
parent 3066ba88ec
commit 6d4448ab7a
  1. 4
      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"]`)

Loading…
Cancel
Save