From 25161eef39c276889069f7631456295ecb1377d5 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Sat, 24 Oct 2015 23:57:55 +0800 Subject: [PATCH] FIX: 'q' keyboard shortcut not working. --- app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 index b146d9333..6a507050f 100644 --- a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 +++ b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 @@ -99,7 +99,7 @@ export default { $('.topic-post.selected button.create').click(); // lazy but should work for now setTimeout(function() { - $('#wmd-quote-post').click(); + $('.wmd-quote-post').click(); }, 500); },