Fix share link for website
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
524a6c2c4d
commit
a8d6024352
@ -51,6 +51,7 @@
|
|||||||
await navigator.share(shareData);
|
await navigator.share(shareData);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Error: ' + err);
|
console.error('Error: ' + err);
|
||||||
|
copyLink();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -63,6 +64,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="is-mobile">
|
<section class="is-mobile">
|
||||||
<h3>Share the link of the room !</h3>
|
<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>
|
<button type="button" class="nes-btn is-primary" on:click={shareLink}>Share</button>
|
||||||
</section>
|
</section>
|
||||||
<h2>Information on the map</h2>
|
<h2>Information on the map</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user