diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html
index 5909e3b..b631aba 100644
--- a/themes/gokarna/layouts/partials/head.html
+++ b/themes/gokarna/layouts/partials/head.html
@@ -3,7 +3,7 @@
-
+
{
- if (window.scrollY > 100) {
- document.querySelectorAll('.header, .header-nav').forEach(function(item) {
- item.classList.add('small')
- })
- } else {
- document.querySelectorAll('.header, .header-nav').forEach(function(item) {
- item.classList.remove('small')
- })
- }
-});
-
function setTheme(themeToSet) {
localStorage.setItem(THEME_PREF_STORAGE_KEY, themeToSet);
darkThemeCss.disabled = themeToSet === 'light';