1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 05:25:44 +01:00

Fix incfind annoyingness on newer Firefoxen.

--HG--
extra : rebase_source : 263fdb4bae4d1facff52ea436141491e5d58a8e5
This commit is contained in:
Kris Maglione
2012-08-10 09:16:08 -04:00
parent 446382604a
commit 0e35c7a288
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,9 @@ defineModule("finder", {
lazyRequire("buffer", ["Buffer"]);
lazyRequire("overlay", ["overlay"]);
function equals(a, b) XPCNativeWrapper(a) == XPCNativeWrapper(b);
function id(w) w.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils)
.outerWindowID;
function equals(a, b) id(a) == id(b);
/** @instance rangefinder */
var RangeFinder = Module("rangefinder", {