Update assets/custom.js
Browse files- assets/custom.js +2 -2
assets/custom.js
CHANGED
@@ -11,10 +11,10 @@ function toggleOpenDyslexic() {
|
|
11 |
// Function to toggle background color for the article
|
12 |
function toggleAccessibleBackground() {
|
13 |
var article = document.getElementById('article');
|
14 |
-
if (article.style.backgroundColor === 'rgb(
|
15 |
article.style.backgroundColor = 'white';
|
16 |
} else {
|
17 |
-
article.style.backgroundColor = 'rgb(
|
18 |
}
|
19 |
}
|
20 |
|
|
|
11 |
// Function to toggle background color for the article
|
12 |
function toggleAccessibleBackground() {
|
13 |
var article = document.getElementById('article');
|
14 |
+
if (article.style.backgroundColor === 'rgb(234, 251, 251)') {
|
15 |
article.style.backgroundColor = 'white';
|
16 |
} else {
|
17 |
+
article.style.backgroundColor = 'rgb(234, 251, 251)';
|
18 |
}
|
19 |
}
|
20 |
|