mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 23:05:46 +01:00
Deal with default values when providing command option completion. Closes issue #146.
This commit is contained in:
@@ -364,6 +364,7 @@ const Events = Module("events", {
|
||||
if (target instanceof Document)
|
||||
target = target.documentElement;
|
||||
dactyl.assert(target);
|
||||
|
||||
// This causes a crash on Gecko<2.0, it seems.
|
||||
target.ownerDocument.defaultView
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils)
|
||||
|
||||
Reference in New Issue
Block a user