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/7738/head
parent
c2ed6baeb4
commit
fef58ba8bb
Loading…
Reference in new issue