From e549da35d6873150802bb3e94a8e44502b670db6 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 19 Nov 2020 21:51:00 +0100 Subject: [PATCH] =?UTF-8?q?Odstran=C4=9Bn=C3=AD=20=C4=8D=C3=A1ry=20a=20n?= =?UTF-8?q?=C3=A1pisu=20u=20pavu=C4=8Diny?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/index.svelte | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 17eb1a4..d6eb821 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -329,10 +329,10 @@ }, 70); } else { setTimeout(() => { - let cinnosti = document.getElementById("cinnosti"); + /* let cinnosti = document.getElementById("cinnosti"); */ let plusko = document.getElementById("plusko") - obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; + /* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */ obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ]; console.log(obobo); @@ -419,10 +419,10 @@ console.log(what); } else { - let cinnosti = document.getElementById("cinnosti"); + /* let cinnosti = document.getElementById("cinnosti"); */ let plusko = document.getElementById("plusko") - obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; + /* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */ obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ]; console.log(obobo); @@ -432,10 +432,10 @@ onMount(() => { if (window.innerWidth <= 800) clicked = true; - let cinnosti = document.getElementById("cinnosti"); + /* let cinnosti = document.getElementById("cinnosti"); */ let plusko = document.getElementById("plusko") - obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; + /* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */ obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ]; console.log(obobo); @@ -580,22 +580,6 @@ height="0" width="0" style="display:none;visibility:hidden">
- {:else } -
- - Činnosti ve spolcích a SOR - - - - -
{/if}