Skip to content

Commit

Permalink
fix tree (fixes #499, via #519)
Browse files Browse the repository at this point in the history
  • Loading branch information
baev authored Jul 31, 2017
1 parent 185d305 commit b5a3577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class TreeView extends View {
onNodeClick(e) {
const uid = this.$(e.currentTarget).data('uid');
this.changeState(uid, !this.state.has(uid));
this.restoreState();
this.$(e.currentTarget).parent().toggleClass('node__expanded');
}

@on('click .tree__info')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if children}}
<div class="node" data-uid="{{uid}}">
<div class="node">
<div class="node__title long-line" data-uid="{{uid}}">
<span class="node__arrow block__arrow">{{angle}}</span>
{{#if name}}
Expand Down

0 comments on commit b5a3577

Please sign in to comment.