FIX: hide 'Quote Reply' button when there's no selection anymore on iOS

This commit is contained in:
Régis Hanol 2015-10-01 00:11:18 +02:00
parent 7bd51e7882
commit 25cb19eeca
1 changed files with 0 additions and 2 deletions

View File

@ -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),