summaryrefslogtreecommitdiff
path: root/common/content/buffer.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-10-09 12:56:05 -0400
committerKris Maglione <maglione.k@gmail.com>2010-10-09 12:56:05 -0400
commit0d3c9bd613f2789ce041ff5195c5beb7bd5ad2eb (patch)
tree6e105254baa4489477d1a0d7b9eef8c567ea7d8c /common/content/buffer.js
parent08ed30f07a6a0a0511b49b3417c388875107a59f (diff)
downloadpentadactyl-0d3c9bd613f2789ce041ff5195c5beb7bd5ad2eb.tar.gz
Fix now spurious :autocmd examples.
--HG-- branch : mode-refactoring
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r--common/content/buffer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js
index ef322e21..747c33b8 100644
--- a/common/content/buffer.js
+++ b/common/content/buffer.js
@@ -271,7 +271,9 @@ const Buffer = Module("buffer", {
statusline.updateUrl();
statusline.updateProgress();
- autocommands.trigger("LocationChange", { url: buffer.URL });
+ util.timeout(function () {
+ autocommands.trigger("LocationChange", { url: buffer.URL });
+ });
// if this is not delayed we get the position of the old buffer
util.timeout(function () {