mirror of https://github.com/sveltejs/svelte
To prevent the following warning message: ``` (!) svelte plugin: 'window' is not defined src/templates/Share.svelte 20: </script> 21: 22: {#if window.navigator.share} ^ 23: <button class="icon-share2" on:click="{shareNatively}" title="Share"></button> 24: {:else} ```pull/2722/head
parent
3d9cb3b611
commit
4631b1b93f
Loading…
Reference in new issue