Bug 1011059 - Don't remove all ranges when selecting; r=margaret

This commit is contained in:
Jim Chen 2014-06-16 11:54:56 -04:00
parent 63c825331c
commit 418c4d6dfa

View File

@ -304,9 +304,6 @@ var SelectionHandler = {
this._initTargetInfo(aElement, this.TYPE_SELECTION);
// Clear any existing selection from the document
this._contentWindow.getSelection().removeAllRanges();
// Perform the appropriate selection method, if we can't determine method, or it fails, return
if (!this._performSelection(aOptions)) {
this._deactivate();