From be0a34804e715804e58b9041150d329ad3fc6fa4 Mon Sep 17 00:00:00 2001
From: Jakob Stendahl <jakobste@uio.no>
Date: Wed, 14 Oct 2020 13:31:34 +0200
Subject: :wrench: Update locationSuported var on error

---
 src/components/PredictedSpaceWeather.svelte | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/components/PredictedSpaceWeather.svelte')

diff --git a/src/components/PredictedSpaceWeather.svelte b/src/components/PredictedSpaceWeather.svelte
index a420401..b350d3c 100644
--- a/src/components/PredictedSpaceWeather.svelte
+++ b/src/components/PredictedSpaceWeather.svelte
@@ -70,6 +70,7 @@
     }
 
     function locationError(err) {
+        locationSupported = false
         noLocation()
     }
 
-- 
cgit v1.2.3

