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:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user