diff --git a/app/assets/javascripts/discourse/components/quote-button.js b/app/assets/javascripts/discourse/components/quote-button.js index 180654099fa..8f7d464543b 100644 --- a/app/assets/javascripts/discourse/components/quote-button.js +++ b/app/assets/javascripts/discourse/components/quote-button.js @@ -188,16 +188,10 @@ export default Component.extend({ .on("mouseup.quote-button", () => { this._prevSelection = null; this._isMouseDown = false; - if (document.activeElement === document.body) { - onSelectionChanged(); - } + onSelectionChanged(); }) .on("selectionchange.quote-button", () => { - if ( - !this._isMouseDown && - !this._reselected && - document.activeElement === document.body - ) { + if (!this._isMouseDown && !this._reselected) { onSelectionChanged(); } });