diff --git a/book/0_0_introduction.html b/book/0_0_introduction.html index d2c374a..d6c04fc 100644 --- a/book/0_0_introduction.html +++ b/book/0_0_introduction.html @@ -1,5 +1,5 @@ - +
@@ -32,11 +32,11 @@ - + @@ -60,11 +60,8 @@ var theme; try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { } if (theme === null || theme === undefined) { theme = default_theme; } - var html = document.querySelector('html'); - html.classList.remove('no-js') - html.classList.remove('light') - html.classList.add(theme); - html.classList.add('js'); + document.body.className = theme; + document.querySelector('html').className = theme + ' js'; @@ -80,8 +77,8 @@