Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladocar committed Jun 13, 2011
1 parent 855b474 commit 5df7379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docJS.js
Expand Up @@ -8,6 +8,6 @@ function docJS(d, n) {
list1 += "<li><a href='#" + keys[i] + "'>- " + keys[i] + "</a></li>";
list += "<li class='l' id=" + keys[i] + "><h3>" + keys[i] + "</h3>:<br><pre>" + d[keys[i]] + "</pre></li>";
}
document.getElementsByTagName("body")[0].innerHTML = '<div id="sidebar"><h3 id="o">' + n + '</h3><ul id="links">' + list1 + '</ul></div><ul id="a">' + list1 + '</ul>';
document.getElementsByTagName("body")[0].innerHTML = '<div id="sidebar"><h3 id="o">' + n + '</h3><ul id="links">' + list1 + '</ul></div><ul id="a">' + list + '</ul>';

}

0 comments on commit 5df7379

Please sign in to comment.