From bcb2d3e7c945654f56153a349b02bbdb65269f2e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 24 Feb 2011 16:00:45 -0500 Subject: [PATCH] Fix bug in autocommands. --- common/content/autocommands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/autocommands.js b/common/content/autocommands.js index 6d0b9b84..39b28214 100644 --- a/common/content/autocommands.js +++ b/common/content/autocommands.js @@ -142,9 +142,9 @@ var AutoCommands = Module("autocommands", { dactyl.echomsg('Executing ' + event + ' Auto commands for "*"', 8); let lastPattern = null; - let { uri, doc } = args; + var { uri, doc } = args; if (!uri) - ({ uri, doc }) = buffer; + var { uri, doc } = buffer; event = event.toLowerCase(); for (let hive in values(this.matchingHives(uri, doc))) {