mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:12:26 +01:00
revert use of DOMContentLoaded until the ramifications for macros is better
understood, although these seem to fail with load too
This commit is contained in:
@@ -309,7 +309,7 @@ liberator.Events = function () //{{{
|
|||||||
|
|
||||||
// this adds an event which is is called on each page load, even if the
|
// this adds an event which is is called on each page load, even if the
|
||||||
// page is loaded in a background tab
|
// page is loaded in a background tab
|
||||||
getBrowser().addEventListener("DOMContentLoaded", onPageLoad, true);
|
getBrowser().addEventListener("load", onPageLoad, true);
|
||||||
|
|
||||||
// called when the active document is scrolled
|
// called when the active document is scrolled
|
||||||
getBrowser().addEventListener("scroll", function (event)
|
getBrowser().addEventListener("scroll", function (event)
|
||||||
|
|||||||
Reference in New Issue
Block a user