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 @@