1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 12:52:27 +01:00

move PageLoad autocmd event triggering to the end of onPageLoad()

This commit is contained in:
Doug Kearns
2008-09-29 09:36:02 +00:00
parent ddf4b9293f
commit 0653ae1473

View File

@@ -478,8 +478,6 @@ liberator.Events = function () //{{{
if (url && liberator.history)
liberator.history.add(url, title);
liberator.autocommands.trigger("PageLoad", url);
// mark the buffer as loaded, we can't use liberator.buffer.loaded
// since that always refers to the current buffer, while doc can be
// any buffer, even in a background tab
@@ -503,6 +501,8 @@ liberator.Events = function () //{{{
{
liberator.echomsg("Background tab loaded: " + title || url, 1);
}
liberator.autocommands.trigger("PageLoad", url);
}
}