1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 16:05:46 +01:00

Fix bug in last commit.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-09 08:20:06 -05:00
parent d4f9f9909c
commit 36c382cdf4
2 changed files with 15 additions and 15 deletions

View File

@@ -58,7 +58,6 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
events: {
DOMContentLoaded: function onDOMContentLoaded(event) {
util.dump("DOMContentLoaded");
let doc = event.originalTarget;
if (doc instanceof HTMLDocument)
this._triggerLoadAutocmd("DOMLoad", doc);
@@ -68,7 +67,6 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
// event listener which is is called on each page load, even if the
// page is loaded in a background tab
load: function onLoad(event) {
util.dump("onLoad");
let doc = event.originalTarget;
if (doc instanceof Document)
dactyl.initDocument(doc);