From f11ebafe4769506b2404a7957ca14b62a3257444 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 30 Dec 2018 01:32:58 +0900 Subject: :art: --- src/client/app/common/scripts/note-mixin.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/client/app/common/scripts') 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); }, -- cgit v1.2.3-freya