pull/1/head
yann300 7 years ago
parent 04016be5c3
commit ebb7f577fb
  1. 1
      src/app/panels/terminal.js

@ -616,6 +616,7 @@ function findDeep (object, fn, found = { break: false, value: undefined }) {
for (var i in object) {
if (found.break) break
var el = object[i]
if (el && el.innerText !== undefined && el.innerText !== null) el = el.innerText
if (!fn(el, i, object)) findDeep(el, fn, found)
else if (found.break = true) return found.value = el // eslint-disable-line
}

Loading…
Cancel
Save