diff options
-rw-r--r-- | common/content/tabs.js | 5 |
1 files 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], ["<C-t>", "<new-tab-next>"], "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 }); |