From ea37ff3b61674c3ee54a6c536b4b335caeaed6d5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 20 Sep 2020 21:29:22 +0900 Subject: [PATCH] wip --- src/client/components/note.vue | 2 +- src/client/components/post-form.vue | 2 +- src/client/components/timeline.vue | 2 +- src/client/components/ui/radio.vue | 3 ++- src/client/components/url-preview-popup.vue | 10 +++++-- src/client/components/url.vue | 26 ++++++++----------- src/client/deck.vue | 2 +- src/client/default.vue | 2 +- src/client/pages/messaging/messaging-room.vue | 2 +- src/client/pages/my-settings/drive.vue | 2 +- src/client/pages/my-settings/reaction.vue | 14 +++++----- .../page-editor/els/page-editor.el.image.vue | 2 +- src/client/pages/page-editor/page-editor.vue | 2 +- src/client/pages/test.vue | 17 +++++++++++- src/client/root.vue | 17 ++++++++++-- 15 files changed, 68 insertions(+), 37 deletions(-) diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 903d7631ac..d93f24144f 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -40,7 +40,7 @@

- +

diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 212172039f..ea1bad82cf 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -379,7 +379,7 @@ export default defineComponent({ }, chooseFileFromDrive() { - selectDriveFile(this.$root, true).then(files => { + selectDriveFile(true).then(files => { for (const file of files) { this.attachMedia(file); } diff --git a/src/client/components/timeline.vue b/src/client/components/timeline.vue index 5879d61bb4..28fa7056b4 100644 --- a/src/client/components/timeline.vue +++ b/src/client/components/timeline.vue @@ -63,7 +63,7 @@ export default defineComponent({ this.$emit('note'); if (this.sound) { - this.$root.sound(note.userId === this.$store.state.i.id ? 'noteMy' : 'note'); + os.sound(note.userId === this.$store.state.i.id ? 'noteMy' : 'note'); } }; diff --git a/src/client/components/ui/radio.vue b/src/client/components/ui/radio.vue index 7ad6015692..b15c06c8b4 100644 --- a/src/client/components/ui/radio.vue +++ b/src/client/components/ui/radio.vue @@ -17,7 +17,8 @@