Browse Source
adds stopPropagation modifier to delete file button
gh-pages
kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
1 changed files with
1 additions and
1 deletions
-
packages/standard-components/src/attachments/AttachmentList.svelte
|
|
|
@ -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> |
|
|
|
|