Skip to content

Commit

Permalink
Fix v2 node menu bug
Browse files Browse the repository at this point in the history
  • Loading branch information
evildecay committed Aug 30, 2018
1 parent 1c4770e commit bded50e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/etcdkeeper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,11 @@ <h2>ETCD Keeper <span id="ver" style="border: 1px solid #D4D4D4;border-radius: 5
var mid = "treeNodeMenu";
if (treeMode === 'path') {
mid = 'treeDirMenu';
if (version === '2') {
if (node.dir !== true) {
mid = "treeNodeMenu";
}
}
} else {
if (node.dir === true) {
mid = 'treeDirMenu';
Expand Down

0 comments on commit bded50e

Please sign in to comment.