aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authormrmr19932017-08-15 19:53:35 +0100
committermrmr19932017-09-21 20:35:59 +0100
commite6a529ea00033d44226581c48df4e84f4cb80237 (patch)
tree85bb56abb0b75087136e68762829c61c8e9da046 /background_scripts
parent4099067f7c03551bea20b6cf6504e4c15d6e7506 (diff)
downloadvimium-e6a529ea00033d44226581c48df4e84f4cb80237.tar.bz2
FF: Simulate default action for clicking links with link hints
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 379239ae..eeda263a 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -106,6 +106,7 @@ TabOperations =
index: request.tab.index + 1
active: true
windowId: request.tab.windowId
+ tabConfig.active = request.active if request.active?
# Firefox does not support "about:newtab" in chrome.tabs.create.
delete tabConfig["url"] if tabConfig["url"] == Settings.defaults.newTabUrl
chrome.tabs.create tabConfig, (tab) ->