This commit is contained in:
syuilo 2022-01-19 23:51:28 +09:00
parent ad1649bb96
commit 8e93632fcf

View file

@ -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);
}
});