diff --git a/app/assets/javascripts/discourse/views/quote_button_view.js b/app/assets/javascripts/discourse/views/quote_button_view.js index a718d2bb0af..18f424dbbb1 100644 --- a/app/assets/javascripts/discourse/views/quote_button_view.js +++ b/app/assets/javascripts/discourse/views/quote_button_view.js @@ -48,7 +48,8 @@ Discourse.QuoteButtonView = Discourse.View.extend({ .on("mousedown.quote-button", function(e) { view.set('isMouseDown', true); if ($(e.target).hasClass('quote-button') || $(e.target).hasClass('create')) return; - controller.deselectText(); + // deselects only when the user left-click + if (e.which === 1) controller.deselectText(); }) .on('mouseup.quote-button', function(e) { view.selectText(e.target, controller);