From c3fc4eb762f352b4ad4331e6326649bcebbaaf9e Mon Sep 17 00:00:00 2001 From: muckelba <34460584+muckelba@users.noreply.github.com> Date: Thu, 9 Nov 2023 19:18:31 +0100 Subject: [PATCH] grammarrrr --- src/lib/components/Faq.svelte | 4 ++-- src/lib/components/Tips.svelte | 10 +++++----- src/routes/superglidetrainer/+page.svelte | 6 +++++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/lib/components/Faq.svelte b/src/lib/components/Faq.svelte index 92e5c17..54fbfc3 100644 --- a/src/lib/components/Faq.svelte +++ b/src/lib/components/Faq.svelte @@ -20,7 +20,7 @@
diff --git a/src/routes/superglidetrainer/+page.svelte b/src/routes/superglidetrainer/+page.svelte index ae14277..1222419 100644 --- a/src/routes/superglidetrainer/+page.svelte +++ b/src/routes/superglidetrainer/+page.svelte @@ -254,7 +254,11 @@ function toggleTraining() { $trainingActive = !$trainingActive; - toggleAnalytics(!$trainingActive); + + // Only open the analytics, dont close them when stopping training + if ($trainingActive) { + toggleAnalytics(!$trainingActive); + } message = ""; superglideText = "";