mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 20:03:32 +01:00
Small cleanup and fix minor issue in my last commit.
--HG-- extra : rebase_source : c49be723ba102a937e5147c66d07f389729735f5
This commit is contained in:
@@ -365,7 +365,7 @@ const Events = Module("events", {
|
||||
* @param {Event} event The event to dispatch.
|
||||
*/
|
||||
dispatch: Class.memoize(function ()
|
||||
util.haveGecko("2.0")
|
||||
util.haveGecko("2b")
|
||||
? function (target, event) // 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