Basic cours support #44

Merged
Anri merged 67 commits from cours into main 2024-04-01 18:11:49 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b3cdcff067 - Show all commits

View file

@ -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,

View file

@ -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}}