Basic cours support #44
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