diff --git a/src/web/app/desktop/scripts/update-avatar.js b/src/web/app/desktop/scripts/update-avatar.js index 7d09b5dcb0..e5415d844e 100644 --- a/src/web/app/desktop/scripts/update-avatar.js +++ b/src/web/app/desktop/scripts/update-avatar.js @@ -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]; diff --git a/src/web/app/desktop/scripts/update-banner.js b/src/web/app/desktop/scripts/update-banner.js index 7acc862d41..80a13d7494 100644 --- a/src/web/app/desktop/scripts/update-banner.js +++ b/src/web/app/desktop/scripts/update-banner.js @@ -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];