diff --git a/app/assets/javascripts/discourse/controllers/quote-button.js.es6 b/app/assets/javascripts/discourse/controllers/quote-button.js.es6 index 0a4c0e3ada6..c99f57247d8 100644 --- a/app/assets/javascripts/discourse/controllers/quote-button.js.es6 +++ b/app/assets/javascripts/discourse/controllers/quote-button.js.es6 @@ -27,7 +27,7 @@ export default DiscourseController.extend({ const selection = window.getSelection(); // no selections - if (selection.rangeCount === 0) return; + if (selection.isCollapsed) return; // retrieve the selected range const range = selection.getRangeAt(0),