diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-30 01:32:58 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-30 01:32:58 +0900 |
| commit | f11ebafe4769506b2404a7957ca14b62a3257444 (patch) | |
| tree | 9224ba08939cea115aa3c2a5183a582e5084b0f6 /src/client/app/common/scripts | |
| parent | Make one import per line (diff) | |
| download | misskey-f11ebafe4769506b2404a7957ca14b62a3257444.tar.gz misskey-f11ebafe4769506b2404a7957ca14b62a3257444.tar.bz2 misskey-f11ebafe4769506b2404a7957ca14b62a3257444.zip | |
:art:
Diffstat (limited to 'src/client/app/common/scripts')
| -rw-r--r-- | src/client/app/common/scripts/note-mixin.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 76059fbb0c..0dc18a763b 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -129,9 +129,7 @@ export default (opts: Opts = {}) => ({ source: this.$refs.reactButton, note: this.appearNote, showFocus: viaKeyboard, - animation: !viaKeyboard, - compact: opts.mobile, - big: opts.mobile + animation: !viaKeyboard }).$once('closed', this.focus); }, @@ -171,8 +169,7 @@ export default (opts: Opts = {}) => ({ this.$root.new(MkNoteMenu, { source: this.$refs.menuButton, note: this.appearNote, - animation: !viaKeyboard, - compact: opts.mobile, + animation: !viaKeyboard }).$once('closed', this.focus); }, |