FIX: hide 'Quote Reply' button when there's no selection anymore on iOS
This commit is contained in:
parent
7bd51e7882
commit
25cb19eeca
|
@ -32,8 +32,6 @@ export default Ember.Controller.extend({
|
|||
}
|
||||
|
||||
const selection = window.getSelection();
|
||||
// no selections
|
||||
if (selection.isCollapsed) return;
|
||||
|
||||
// retrieve the selected range
|
||||
const range = selection.getRangeAt(0),
|
||||
|
|
Loading…
Reference in New Issue