Corran commited on
Commit
d4f7b26
1 Parent(s): 01fadf8

Update assets/custom.js

Browse files
Files changed (1) hide show
  1. 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(238, 238, 238)') {
15
  article.style.backgroundColor = 'white';
16
  } else {
17
- article.style.backgroundColor = 'rgb(238, 238, 238)';
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