diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag
index d40ac0a6a..845cd9d12 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 307caa470..f1a9bf9f4 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 ca8d912c6..cfa77dcb9 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 577f47ec7..bacfa2582 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();
});