From 4857891ecf3aa92d1804d32cce829693545a28d3 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 22 Mar 2021 09:46:38 +0100 Subject: [PATCH] DEV: correctly defines focusComposer shortcut as shift+c (#12468) --- app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js b/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js index c52fcb7f3b1..b85652d4604 100644 --- a/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js +++ b/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js @@ -20,7 +20,7 @@ const DEFAULT_BINDINGS = { ".": { click: ".alert.alert-info.clickable", anonymous: true }, // show incoming/updated topics b: { handler: "toggleBookmark" }, c: { handler: "createTopic" }, - C: { handler: "focusComposer" }, + "shift+c": { handler: "focusComposer" }, "ctrl+f": { handler: "showPageSearch", anonymous: true }, "command+f": { handler: "showPageSearch", anonymous: true }, "command+left": { handler: "webviewKeyboardBack" },