1
0
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:
Kris Maglione
2010-11-08 06:47:46 -05:00
parent fd9ca1487d
commit f9d8872d57
3 changed files with 8 additions and 15 deletions

View File

@@ -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)