Commit eacae503 authored by QuentiumYT's avatar QuentiumYT
Browse files

Changed words

parent 2e3672ed
......@@ -100,13 +100,13 @@ function toggleFont() {
if (body.classList.contains("font-dyslexic")) {
body.classList.remove("font-dyslexic");
body.classList.add("font-base");
toggle.innerText = "Activer la police Dyslexie";
toggle.innerText = "Activer la police dyslexie";
localStorage.setItem("font", "base");
}
else {
body.classList.remove("font-base");
body.classList.add("font-dyslexic");
toggle.innerText = "Activer la police de Base";
toggle.innerText = "Activer la police normale";
localStorage.setItem("font", "dyslexic");
}
}
......@@ -116,9 +116,9 @@ toggle.addEventListener("click", toggleFont);
if (localStorage.getItem("font") === "dyslexic") {
body.classList.remove("font-base");
body.classList.add("font-dyslexic");
toggle.innerText = "Activer la police Dyslexie";
toggle.innerText = "Activer la police dyslexie";
} else {
body.classList.remove("font-dyslexic");
body.classList.add("font-base");
toggle.innerText = "Activer la police Base";
toggle.innerText = "Activer la police normale";
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment