🐛 fix(photos): use valid Svelte 5 event syntax

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-12 01:49:11 +01:00
parent 16a7532253
commit 741c5bc00c

View file

@ -81,7 +81,7 @@
</svg>
</div>
<p class="dropzone-text">{$_('upload.dropzone')}</p>
<button type="button" class="btn btn-primary mt-4" onclick|stopPropagation={openFilePicker}>
<button type="button" class="btn btn-primary mt-4" onclick={(e) => { e.stopPropagation(); openFilePicker(); }}>
{$_('upload.selectFiles')}
</button>
</div>