diff --git a/static/js/cours.js b/static/js/cours.js index 8800b14..391a5a2 100644 --- a/static/js/cours.js +++ b/static/js/cours.js @@ -148,7 +148,7 @@ window.addEventListener("load", () => { uncollapse(currentlyOpen); // Bold opened file - const openedFile = fullpath.split("/").at(-1); + const openedFile = decodeURI(fullpath.split("/").at(-1)); currentlyOpen.querySelector("ul").childNodes.forEach((el) => { if (el.innerText === openedFile) { el.style.fontWeight = "bold";