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", () => { 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,

View file

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