mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-23 09:45:46 +03:00
Reset input[type=file] after media is added
Bug: Add file A, remove fie A, add file A = nothing happens
This commit is contained in:
parent
b6dfbd0819
commit
a1e2207e96
1 changed files with 2 additions and 0 deletions
|
@ -949,6 +949,8 @@ function Compose({
|
|||
return attachments.concat(mediaFiles);
|
||||
});
|
||||
}
|
||||
// Reset
|
||||
e.target.value = '';
|
||||
}}
|
||||
/>
|
||||
<Icon icon="attachment" />
|
||||
|
|
Loading…
Reference in a new issue