mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 05:54:12 +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 () {
|
||||
this.selection.removeAllRanges();
|
||||
if (this.initialSelection)
|
||||
this.selection.addRange(this.initialSelection);
|
||||
if (this.selection) {
|
||||
this.selection.removeAllRanges();
|
||||
if (this.initialSelection)
|
||||
this.selection.addRange(this.initialSelection);
|
||||
}
|
||||
},
|
||||
|
||||
get selectionController() this.docShell
|
||||
|
||||
Reference in New Issue
Block a user