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", () => {
|
window.addEventListener("load", () => {
|
||||||
const fileTreeElement = document.getElementsByTagName("aside")[0];
|
const fileTreeElement = document.getElementsByTagName("aside")[0];
|
||||||
const dataElement = fileTreeElement.getElementsByTagName("div")[0];
|
const dataElement = fileTreeElement.getElementsByTagName("span")[0];
|
||||||
|
|
||||||
buildFileTree(
|
buildFileTree(
|
||||||
fileTreeElement,
|
fileTreeElement,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<header>{{>navbar.html}}</header>
|
<header>{{>navbar.html}}</header>
|
||||||
|
|
||||||
<aside>
|
<aside>
|
||||||
<div data-json="{{#data}}{{filetree}}{{/data}} "></div>
|
<span data-json="{{#data}}{{filetree}}{{/data}} "></span>
|
||||||
</aside>
|
</aside>
|
||||||
<main>
|
<main>
|
||||||
{{#data}} {{^content}}
|
{{#data}} {{^content}}
|
||||||
|
|
Loading…
Reference in a new issue