mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 17:45:47 +01:00
Fix finder on view-source: pages on recent Gecko 2.
This commit is contained in:
@@ -621,9 +621,11 @@ const RangeFind = Class("RangeFind", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
deselect: function () {
|
deselect: function () {
|
||||||
this.selection.removeAllRanges();
|
if (this.selection) {
|
||||||
if (this.initialSelection)
|
this.selection.removeAllRanges();
|
||||||
this.selection.addRange(this.initialSelection);
|
if (this.initialSelection)
|
||||||
|
this.selection.addRange(this.initialSelection);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
get selectionController() this.docShell
|
get selectionController() this.docShell
|
||||||
|
|||||||
Reference in New Issue
Block a user