Merge pull request #1522 from thecodingmachine/HotFixContactPage

Fix share link for website
This commit is contained in:
grégoire parant 2021-10-15 15:44:44 +02:00 committed by GitHub
commit 79e83d3782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,7 @@
await navigator.share(shareData);
} catch (err) {
console.error('Error: ' + err);
copyLink();
}
}
</script>
@ -63,6 +64,7 @@
</section>
<section class="is-mobile">
<h3>Share the link of the room !</h3>
<input type="hidden" readonly bind:this={HTMLShareLink} value={location.toString()}>
<button type="button" class="nes-btn is-primary" on:click={shareLink}>Share</button>
</section>
<h2>Information on the map</h2>