fix typo and collapsing

pull/34/head
Zlatin Balevsky 2019-12-07 10:16:28 +00:00
parent 9c0c187a18
commit 84375c0201
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Node {
div.innerHTML = "<li><span><a href='#' onclick='window.expand(\"" + this.nodeId + "\");return false'>" +
this.path + "</a></span></li>"
} else {
var l = "<li><a href='#' onlick='window.collapse(\"" + this.nodeId + "\");return false;'>"+this.path+"</a><ul>"
var l = "<li><a href='#' onclick='window.collapse(\"" + this.nodeId + "\");return false;'>"+this.path+"</a><ul>"
var i
for (i = 0; i < this.children.length; i++) {
l += "<li>"