From 74bdfada6fa62d8d321744e75318a549d66fcdc0 Mon Sep 17 00:00:00 2001 From: Astralof <41782505+Astralof@users.noreply.github.com> Date: Fri, 21 Sep 2018 12:43:21 +0200 Subject: [PATCH] Hotfix mobilescreen --- _includes/header.html | 2 +- index.html | 53 +++++++++++++++++++++++++++++++++++++------ 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 880f105..1942892 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -69,7 +69,7 @@ // remove stackable from menu document.getElementById("menubar").classList.remove("stackable"); - window.onresize = resizeFunction + window.addEventListener("resize", resizeFunction); resizeFunction() }) diff --git a/index.html b/index.html index 72abfb1..0bc32f1 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,17 @@ title: Safing {% include header.html home=true %} {% include floating_button.html heightref="portmaster" download=true %} -
-
+
+
+ + +
+