1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

adds stopPropagation modifier to delete file button

This commit is contained in:
kevmodrome 2020-10-15 15:58:21 +02:00
parent f0cea0ef0e
commit 7e9cf7d01e

View file

@ -31,7 +31,7 @@
{:else}<i class="far fa-file" />{/if}
</a>
<span>{file.name}</span>
<div class="button-placement"><button primary on:click={() => openModal(file)}>×</button></div>
<div class="button-placement"><button primary on:click|stopPropagation={() => openModal(file)}>×</button></div>
</div>
{/each}
</div>