This commit is contained in:
parent
1c19d23f36
commit
b3cdcff067
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ const buildFileTree = (parent, data) => {
|
|||
|
||||
window.addEventListener("load", () => {
|
||||
const fileTreeElement = document.getElementsByTagName("aside")[0];
|
||||
const dataElement = fileTreeElement.getElementsByTagName("div")[0];
|
||||
const dataElement = fileTreeElement.getElementsByTagName("span")[0];
|
||||
|
||||
buildFileTree(
|
||||
fileTreeElement,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<header>{{>navbar.html}}</header>
|
||||
|
||||
<aside>
|
||||
<div data-json="{{#data}}{{filetree}}{{/data}} "></div>
|
||||
<span data-json="{{#data}}{{filetree}}{{/data}} "></span>
|
||||
</aside>
|
||||
<main>
|
||||
{{#data}} {{^content}}
|
||||
|
|
Loading…
Reference in a new issue