summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-30 01:32:58 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-30 01:32:58 +0900
commitf11ebafe4769506b2404a7957ca14b62a3257444 (patch)
tree9224ba08939cea115aa3c2a5183a582e5084b0f6 /src/client/app/common/scripts
parentMake one import per line (diff)
downloadmisskey-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.ts7
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);
},