diff --git a/content/completion.js b/content/completion.js index b9322875..fdd209fa 100644 --- a/content/completion.js +++ b/content/completion.js @@ -133,7 +133,7 @@ vimperator.Completion = function () //{{{ { substrings = []; var nodes = [ - ["onPageLoad", "when a page gets (re)loaded/opened"] + ["PageLoad", "when a page gets (re)loaded/opened"] ]; if (!filter) diff --git a/content/events.js b/content/events.js index a8b6436c..2088df8f 100644 --- a/content/events.js +++ b/content/events.js @@ -380,7 +380,7 @@ vimperator.Events = function () //{{{ vimperator.history.add(url, title); vimperator.buffer.updateBufferList(); - vimperator.autocommands.trigger("onPageLoad", url); + vimperator.autocommands.trigger("PageLoad", url); // mark the buffer as loaded, we can't use vimperator.buffer.loaded // since that always refers to the current buffer, while doc can be