diff --git a/app/assets/javascripts/discourse/components/quote-button.js.es6 b/app/assets/javascripts/discourse/components/quote-button.js.es6 index c1d4f616931..68c3eb5a7dd 100644 --- a/app/assets/javascripts/discourse/components/quote-button.js.es6 +++ b/app/assets/javascripts/discourse/components/quote-button.js.es6 @@ -54,10 +54,10 @@ export default Ember.Component.extend({ this.sendAction('deselectText'); } }).on('mouseup.quote-button', e => { + this.set('isMouseDown', false); if (ignoreElements(e)) { return; } this._selectText(e.target); - this.set('isMouseDown', false); }).on('selectionchange', () => { // there is no need to handle this event when the mouse is down // or if there a touch in progress