Skip to content

A platform for community discussion. Free, open, simple.

DEV: correctly defines focusComposer shortcut as shift+c (#12468)

Joffrey JAFFEUX4857891ecf3a
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" },