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:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user