From 9f75263921fb7e81e6296d369626a5764c7c6688 Mon Sep 17 00:00:00 2001 From: zzossig Date: Sat, 22 Feb 2020 12:18:43 +0900 Subject: [PATCH] del unnecessary javascript code --- layouts/_default/baseof.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 76d1716..f43fe64 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,12 +20,6 @@ if (localTheme) { document.getElementById('root').className = 'theme__' + localTheme; } - - function resetHeight() { - document.body.style.height = window.innerHeight + "px"; - } - window.addEventListener("resize", resetHeight); - resetHeight();
{{ partial "body/main-left" . }}