fixTreeView

pull/7/head
yann300 8 years ago
parent a6fd3e6254
commit c8841a5478
  1. 2
      src/ui/TreeView.js

@ -58,6 +58,8 @@ class TreeView {
list.style.display = list.style.display === 'none' ? 'block' : 'none' list.style.display = list.style.display === 'none' ? 'block' : 'none'
self.nodeIsExpanded[keyPath] = list.style.display === 'block' self.nodeIsExpanded[keyPath] = list.style.display === 'block'
} }
} else {
label.firstElementChild.style.display = 'none'
} }
return yo`<li style=${this.cssLi}>${label}${renderedChildren}</li>` return yo`<li style=${this.cssLi}>${label}${renderedChildren}</li>`
} }

Loading…
Cancel
Save