aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/main.coffee')
-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 28959d35..4cb78441 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -204,6 +204,7 @@ openUrlInNewTab = (request, callback) ->
index: tab.index + 1
selected: true
windowId: tab.windowId
+ openerTabId: tab.id
# FIXME(smblott). openUrlInNewTab is being called in two different ways with different arguments. We
# should refactor it such that this check on callback isn't necessary.
callback = (->) unless typeof callback == "function"