diff --git a/content/events.js b/content/events.js index 0fe7da60..52f680a8 100644 --- a/content/events.js +++ b/content/events.js @@ -309,7 +309,7 @@ liberator.Events = function () //{{{ // this adds an event which is is called on each page load, even if the // page is loaded in a background tab - getBrowser().addEventListener("load", onPageLoad, true); + getBrowser().addEventListener("DOMContentLoaded", onPageLoad, true); // called when the active document is scrolled getBrowser().addEventListener("scroll", function (event)