Skip to content

Commit

Permalink
fix navigation render to jump to given node
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Aug 10, 2019
1 parent 135e3da commit 1886890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/viki.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/navigationrenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ class NavigationRenderer {
return;
}

path = decodeURIComponent(path);
let pathNodes = path.split('/');
this.expandToNode(tree.get_node('#'), pathNodes, 0);
}
Expand Down

0 comments on commit 1886890

Please sign in to comment.