mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 10:53:09 +02:00
Fix typo: uplaod -> upload
This commit is contained in:
parent
1efa9f8ad7
commit
68e7e70dbf
2 changed files with 6 additions and 6 deletions
|
@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
|
|||
api(I, 'drive/folders/create', {
|
||||
name: 'アイコン'
|
||||
}).then(iconFolder => {
|
||||
uplaod(data, iconFolder);
|
||||
upload(data, iconFolder);
|
||||
});
|
||||
} else {
|
||||
uplaod(data, iconFolder[0]);
|
||||
upload(data, iconFolder[0]);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
|
|||
});
|
||||
};
|
||||
|
||||
const uplaod = (data, folder) => {
|
||||
const upload = (data, folder) => {
|
||||
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
||||
title: '新しいアバターをアップロードしています'
|
||||
})[0];
|
||||
|
|
|
@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
|
|||
api(I, 'drive/folders/create', {
|
||||
name: 'バナー'
|
||||
}).then(iconFolder => {
|
||||
uplaod(data, iconFolder);
|
||||
upload(data, iconFolder);
|
||||
});
|
||||
} else {
|
||||
uplaod(data, iconFolder[0]);
|
||||
upload(data, iconFolder[0]);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
|
|||
});
|
||||
};
|
||||
|
||||
const uplaod = (data, folder) => {
|
||||
const upload = (data, folder) => {
|
||||
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
||||
title: '新しいバナーをアップロードしています'
|
||||
})[0];
|
||||
|
|
Loading…
Reference in a new issue