diff --git a/static/js/cours.js b/static/js/cours.js index 5eb8869..807a996 100644 --- a/static/js/cours.js +++ b/static/js/cours.js @@ -30,7 +30,7 @@ const buildFileTree = (parent, data, location) => { if (item.is_dir) { // Directory - li.textContent = item.name; + li.textContent = capitalize(item.name); li.classList.add("collapsed"); // Toggle collapsing on click