mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix #8158
This commit is contained in:
parent
f14aba65c5
commit
d7d533f9de
@ -339,8 +339,8 @@ function focus() {
|
||||
}
|
||||
|
||||
function chooseFileFrom(ev) {
|
||||
selectFiles(ev.currentTarget || ev.target, i18n.locale.attachFile).then(files => {
|
||||
for (const file of files) {
|
||||
selectFiles(ev.currentTarget || ev.target, i18n.locale.attachFile).then(files_ => {
|
||||
for (const file of files_) {
|
||||
files.push(file);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user