fix list root (should be ul)

pull/7/head
yann300 8 years ago
parent 60c2906bbd
commit b874fb3091
  1. 2
      src/ui/TreeView.js

@ -48,7 +48,7 @@ class TreeView {
var children = Object.keys(json).map((innerkey) => {
return this.renderObject(json[innerkey], innerkey, expand)
})
return yo`<li style=${this.cssList}>${children}</li>`
return yo`<ul style=${this.cssList}>${children}</ul>`
}
formatDataDefault (key, self, children, expand) {

Loading…
Cancel
Save