From 68e7e70dbfe922f1a1505552d26468acd7ba1fe6 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 27 Feb 2017 17:08:59 +0900 Subject: [PATCH] Fix typo: uplaod -> upload --- src/web/app/desktop/scripts/update-avatar.js | 6 +++--- src/web/app/desktop/scripts/update-banner.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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];