FIX: prevents quote shortcut key to show in composer before quote (#7177)

approved

#1

FIX: prevents quote shortcut key to show in composer before quote (#7177)

diff --git a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
index dfd91e8..97817f8 100644
--- a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
+++ b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
@@ -140,6 +140,8 @@ export default {
     this.sendToSelectedPost("replyToPost");
     // lazy but should work for now
     Ember.run.later(() => $(".d-editor .quote").click(), 500);
+
+    return false;
   },
 
   goToFirstSuggestedTopic() {

GitHub sha: e711d3cb


#2

This commit has been mentioned on Discourse Meta. There might be relevant details there:


Approved #3