diff --git a/.gitignore b/.gitignore index b9ee1c7..14ee8c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -./book +book/ ./.vscode \ No newline at end of file diff --git a/book/0_background_information.html b/book/0_background_information.html index 56538ee..5389861 100644 --- a/book/0_background_information.html +++ b/book/0_background_information.html @@ -1,5 +1,5 @@ - +
@@ -32,11 +32,11 @@ - + @@ -60,8 +60,11 @@ var theme; try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { } if (theme === null || theme === undefined) { theme = default_theme; } - document.body.className = theme; - document.querySelector('html').className = theme + ' js'; + var html = document.querySelector('html'); + html.classList.remove('no-js') + html.classList.remove('light') + html.classList.add(theme); + html.classList.add('js'); @@ -77,8 +80,8 @@