mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:02:31 +02:00
Fix finder on view-source: pages on recent Gecko 2.
This commit is contained in:
1 parent
acb635d825
commit
f3d194b00b
1 file changed
+5
-3
@@ -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