From 5144c612adcae366966f00c56102101d9f9633d9 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 16 Aug 2011 21:52:26 -0400 Subject: [PATCH] Be less prudent with . --- common/content/tabs.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index d76092cf..db0e5e9c 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -58,7 +58,7 @@ var Tabs = Module("tabs", { "mappings.executed": function mappings_executed() { if (this._mappingCount && !--this._mappingCount) - dactyl.forceTarget = this._originalTarget; + dactyl.forceTarget = null; }, }, @@ -959,8 +959,7 @@ var Tabs = Module("tabs", { mappings.add([modes.COMMAND], ["", ""], "Execute the next mapping in a new tab", function ({ count }) { - tabs._mappingCount += (count || 1) + 1; - tabs._originalTarget = dactyl.forceTarget; + tabs._mappingCount = (count || 1) + 1; dactyl.forceTarget = dactyl.NEW_TAB; }, { count: true });