Fix: browser specific bug which caused the file selector to open twice on chromium; fix #1771
This commit is contained in:
parent
ca938912f7
commit
9893e433f3
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue