1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:34:11 +01:00

added LocationChange autocmd

This commit is contained in:
Martin Stubenschrott
2008-06-16 21:38:04 +00:00
parent ef789d9aee
commit 636362efa3
2 changed files with 5 additions and 2 deletions

View File

@@ -1445,6 +1445,8 @@ liberator.Events = function () //{{{
liberator.statusline.updateUrl();
liberator.statusline.updateProgress();
liberator.autocommands.trigger("LocationChange", liberator.buffer.URL);
// if this is not delayed we get the position of the old buffer
setTimeout(function () { liberator.statusline.updateBufferPosition(); }, 100);
},