From fbfe7bbb2a236fe04a7d60371bbe03fba7ede2c8 Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Tue, 4 Jun 2024 22:10:53 +0200 Subject: [PATCH] just remove the opendyslexic part and not directly change font --- a11y.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a11y.js b/a11y.js index 448639a..e5c697d 100644 --- a/a11y.js +++ b/a11y.js @@ -74,7 +74,7 @@ document.querySelectorAll('#accessibility-menu button').forEach((button, index) document.body.style.fontSize = '1.2em'; document.body.style.filter = 'grayscale(0%)'; document.body.style.filter = 'invert(0%)'; - document.body.style.fontFamily = 'Source Sans Pro'; + document.body.classList.remove('opendyslexic'); break; case 6: window.open("https://github.com/td00/a11y");