Fix: browser specific bug which caused the file selector to open twice on chromium; fix #1771

This commit is contained in:
Pieter Vander Vennet 2024-02-13 01:17:27 +01:00
parent ca938912f7
commit 9893e433f3

View file

@ -79,7 +79,7 @@
<label <label
class={twMerge(cls, drawAttention ? "glowing-shadow" : "")} class={twMerge(cls, drawAttention ? "glowing-shadow" : "")}
for={id} for={id}
on:click={() => { on:click|preventDefault={() => {
inputElement.click() inputElement.click()
}} }}
style="margin-left:0" style="margin-left:0"