1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:58:00 +01:00

PageLoad rather then onPageLoad

This commit is contained in:
Marco Candrian
2007-12-28 04:32:45 +00:00
parent c3cf763104
commit 0ce511b060
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ vimperator.Completion = function () //{{{
{ {
substrings = []; substrings = [];
var nodes = [ var nodes = [
["onPageLoad", "when a page gets (re)loaded/opened"] ["PageLoad", "when a page gets (re)loaded/opened"]
]; ];
if (!filter) if (!filter)

View File

@@ -380,7 +380,7 @@ vimperator.Events = function () //{{{
vimperator.history.add(url, title); vimperator.history.add(url, title);
vimperator.buffer.updateBufferList(); 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 // mark the buffer as loaded, we can't use vimperator.buffer.loaded
// since that always refers to the current buffer, while doc can be // since that always refers to the current buffer, while doc can be