summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/notes.note.vue7
1 files changed, 7 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 bffa6affc9..a2ba85bdf9 100644
--- a/src/client/app/desktop/views/components/notes.note.vue
+++ b/src/client/app/desktop/views/components/notes.note.vue
@@ -115,6 +115,7 @@ export default Vue.extend({
return {
'r|left': () => this.reply(true),
'a|plus': () => this.react(true),
+ 'ctrl+q|ctrl+right': this.renoteDirectly,
'q|right': () => this.renote(true),
'up|k|shift+tab': this.focusBefore,
'down|j|tab': this.focusAfter,
@@ -254,6 +255,12 @@ export default Vue.extend({
}).$once('closed', this.focus);
},
+ renoteDirectly() {
+ (this as any).api('notes/create', {
+ renoteId: this.p.id
+ });
+ },
+
react(viaKeyboard = false) {
this.blur();
(this as any).os.new(MkReactionPicker, {