mirror of https://github.com/zlatinb/muwire
fix typo and collapsing
parent
9c0c187a18
commit
84375c0201
|
@ -19,7 +19,7 @@ class Node {
|
||||||
div.innerHTML = "<li><span><a href='#' onclick='window.expand(\"" + this.nodeId + "\");return false'>" +
|
div.innerHTML = "<li><span><a href='#' onclick='window.expand(\"" + this.nodeId + "\");return false'>" +
|
||||||
this.path + "</a></span></li>"
|
this.path + "</a></span></li>"
|
||||||
} else {
|
} 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
|
var i
|
||||||
for (i = 0; i < this.children.length; i++) {
|
for (i = 0; i < this.children.length; i++) {
|
||||||
l += "<li>"
|
l += "<li>"
|
||||||
|
|
Loading…
Reference in New Issue