1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 04:54:12 +01:00

First work towards group-local option values.

This commit is contained in:
Kris Maglione
2011-08-23 22:42:38 -04:00
parent 9ad4be54a9
commit 435f30f7eb
7 changed files with 279 additions and 188 deletions

View File

@@ -673,8 +673,7 @@ var RangeFind = Class("RangeFind", {
this.range = range;
this.document = range.startContainer.ownerDocument;
this.window = this.document.defaultView;
this.docShell = this.window.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIWebNavigation)
.QueryInterface(Ci.nsIDocShell);
this.docShell = util.docShell(this.window);
if (this.selection == null)
return false;