mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011059 - Don't remove all ranges when selecting; r=margaret
This commit is contained in:
parent
63c825331c
commit
418c4d6dfa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user