From c2e0e389482ecb00031d3a5881b2fabc213edb06 Mon Sep 17 00:00:00 2001 From: Philip Eriksson <12006381+phieri@users.noreply.github.com> Date: Sat, 12 Oct 2024 05:42:06 +0000 Subject: [PATCH] Dev --- _site/index.html | 3 ++- _site/om.html | 1 + src/script.ts | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_site/index.html b/_site/index.html index e4ba24e..1079c96 100644 --- a/_site/index.html +++ b/_site/index.html @@ -3,13 +3,14 @@ SWEREF 99 TM + -

Nuvarande SWEREF 99 TM

+

BETA

N
E
diff --git a/_site/om.html b/_site/om.html index 08b055d..cace4e8 100644 --- a/_site/om.html +++ b/_site/om.html @@ -3,6 +3,7 @@ Hjälp sweref99.nu + diff --git a/src/script.ts b/src/script.ts index 43130b9..9288d25 100644 --- a/src/script.ts +++ b/src/script.ts @@ -46,7 +46,7 @@ document.addEventListener( maximumAge: 30000, timeout: 27000, }; - + const watchID = navigator.geolocation.watchPosition(success, error, options); }, false, @@ -61,7 +61,7 @@ btn!.addEventListener("click", async () => { try { const shareData = { title: "Position", - text: "SWEREF 99 TM: N E", + text: swerefn!.textContent + " (SWEREF 99 TM)", url: "geo:" }; await navigator.share(shareData);