diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 08:26:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 08:26:32 +0900 |
| commit | fccbecf15994f23fc4fbe9627a8eb902b76b6bb7 (patch) | |
| tree | 6bdd7f1e5c6b72929afd41ef042b9e866465fb47 /src/client/app/common/scripts/note-mixin.ts | |
| parent | Refactor & Clean up (diff) | |
| download | sharkey-fccbecf15994f23fc4fbe9627a8eb902b76b6bb7.tar.gz sharkey-fccbecf15994f23fc4fbe9627a8eb902b76b6bb7.tar.bz2 sharkey-fccbecf15994f23fc4fbe9627a8eb902b76b6bb7.zip | |
[Client] Fix bug
Diffstat (limited to 'src/client/app/common/scripts/note-mixin.ts')
| -rw-r--r-- | src/client/app/common/scripts/note-mixin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 93debf81e8..6d86c70820 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -88,7 +88,7 @@ export default (opts: Opts = {}) => ({ methods: { reply(viaKeyboard = false) { - (this as any).apis.post({ + this.$root.apis.post({ reply: this.appearNote, animation: !viaKeyboard, cb: () => { @@ -98,7 +98,7 @@ export default (opts: Opts = {}) => ({ }, renote(viaKeyboard = false) { - (this as any).apis.post({ + this.$root.apis.post({ renote: this.appearNote, animation: !viaKeyboard, cb: () => { |