diff --git a/css/style.css b/css/style.css index c96ad25..31e80ac 100644 --- a/css/style.css +++ b/css/style.css @@ -69,7 +69,6 @@ a { text-decoration: none; color: #555; border-bottom: 1px solid #ccc; - -webkit-transition: all ease-out 0.2s; } img { @@ -375,7 +374,7 @@ code { /* Theme Switcher * --------------------------------- * */ -/* + .themeSwitcher { appearance: none; background: none; @@ -406,4 +405,4 @@ code { [data-theme='dark'] img:hover { opacity: 1; } - */ + diff --git a/src/main.js b/src/main.js index e31da1b..d0cfd8d 100644 --- a/src/main.js +++ b/src/main.js @@ -301,13 +301,12 @@ function enableThemeSwitcher() { } window.addEventListener("load", function(){ - // enableThemeSwitcher(); - // window.scrollTo(0, 0); + enableThemeSwitcher(); styleCodeBlocks(); loadGlslElements(); - // captionizeImages(); - // window.scrollTo(0, 0); - // setTimeout(function () { - // window.scrollTo(0, 0); - // }, 500); + captionizeImages(); + window.scrollTo(0, 0); + setTimeout(function () { + window.scrollTo(0, 0); + }, 500); });