diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag
index d40ac0a6a0..845cd9d127 100644
--- a/src/web/app/common/tags/uploader.tag
+++ b/src/web/app/common/tags/uploader.tag
@@ -145,6 +145,8 @@
this.uploads = [];
this.upload = (file, folder) => {
+ if (folder && typeof folder == 'object') folder = folder.id;
+
const id = Math.random();
const ctx = {
diff --git a/src/web/app/mobile/tags/drive.tag b/src/web/app/mobile/tags/drive.tag
index 307caa4707..f1a9bf9f43 100644
--- a/src/web/app/mobile/tags/drive.tag
+++ b/src/web/app/mobile/tags/drive.tag
@@ -14,6 +14,7 @@
{ file.name }
+
+
diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag
index ca8d912c67..cfa77dcb91 100644
--- a/src/web/app/mobile/tags/drive/file-viewer.tag
+++ b/src/web/app/mobile/tags/drive/file-viewer.tag
@@ -203,9 +203,7 @@
};
this.move = () => {
- const dialog = riot.mount(document.body.appendChild(document.createElement('mk-drive-folder-selector')), {
- multiple: true
- })[0];
+ const dialog = riot.mount(document.body.appendChild(document.createElement('mk-drive-folder-selector')))[0];
dialog.one('selected', folder => {
this.api('drive/files/update', {
file_id: this.file.id,
diff --git a/src/web/app/mobile/tags/page/drive.tag b/src/web/app/mobile/tags/page/drive.tag
index 577f47ec78..bacfa25826 100644
--- a/src/web/app/mobile/tags/page/drive.tag
+++ b/src/web/app/mobile/tags/page/drive.tag
@@ -14,6 +14,10 @@
document.title = 'Misskey Drive';
this.ui.trigger('title', 'ドライブ');
+ this.ui.trigger('func', () => {
+ this.refs.ui.refs.browser.openContextMenu();
+ }, 'ellipsis-h');
+
this.refs.ui.refs.browser.on('begin-fetch', () => {
this.Progress.start();
});