summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-19 02:27:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-19 02:27:19 +0900
commitb0d60ef2c2a4f7a3cc25730a19791aed8fcc1a35 (patch)
treee85b14dbb5c5fe7b15705b0a90c1b090ac981a1a /src
parentFix (diff)
downloadmisskey-b0d60ef2c2a4f7a3cc25730a19791aed8fcc1a35.tar.gz
misskey-b0d60ef2c2a4f7a3cc25730a19791aed8fcc1a35.tar.bz2
misskey-b0d60ef2c2a4f7a3cc25730a19791aed8fcc1a35.zip
Add new shortcut
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/notes.note.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue
index d1178a933a..1a670a9e7a 100644
--- a/src/client/app/desktop/views/components/notes.note.vue
+++ b/src/client/app/desktop/views/components/notes.note.vue
@@ -120,6 +120,7 @@ export default Vue.extend({
'up|k|shift+tab': this.focusBefore,
'down|j|tab': this.focusAfter,
'm|o': () => this.menu(true),
+ 's': this.toggleShowContent,
'1': () => this.reactDirectly('like'),
'2': () => this.reactDirectly('love'),
'3': () => this.reactDirectly('laugh'),
@@ -287,6 +288,10 @@ export default Vue.extend({
}).$once('closed', this.focus);
},
+ toggleShowContent() {
+ this.showContent = !this.showContent;
+ },
+
focus() {
this.$el.focus();
},