mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 03:36:57 +01:00
fix #8158
This commit is contained in:
parent
f14aba65c5
commit
d7d533f9de
1 changed files with 2 additions and 2 deletions
|
@ -339,8 +339,8 @@ function focus() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function chooseFileFrom(ev) {
|
function chooseFileFrom(ev) {
|
||||||
selectFiles(ev.currentTarget || ev.target, i18n.locale.attachFile).then(files => {
|
selectFiles(ev.currentTarget || ev.target, i18n.locale.attachFile).then(files_ => {
|
||||||
for (const file of files) {
|
for (const file of files_) {
|
||||||
files.push(file);
|
files.push(file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue