aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/marks.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-06-30 05:39:49 +0100
committerStephen Blott2015-06-30 05:39:49 +0100
commit51b21408870fbcd2e59c806a24082d9bdd5c5e84 (patch)
treea5549bd47714fdcbeefe1cbac970a9153332eef0 /background_scripts/marks.coffee
parent0d95a46573aa1bed7720454e6fb95a1cbaa59208 (diff)
parent6637d09d4043154bdf37a063137f4074a1dc3239 (diff)
downloadvimium-51b21408870fbcd2e59c806a24082d9bdd5c5e84.tar.bz2
Merge pull request #1751 from smblott-github/set-new-tab-parent
Set the parent tab when creating tabs.
Diffstat (limited to 'background_scripts/marks.coffee')
-rw-r--r--background_scripts/marks.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/marks.coffee b/background_scripts/marks.coffee
index 6e5f08ba..70ec1c17 100644
--- a/background_scripts/marks.coffee
+++ b/background_scripts/marks.coffee
@@ -82,7 +82,7 @@ Marks =
@gotoPositionInTab extend markInfo, tabId: tab.id
else
# There is no existing matching tab, we'll have to create one.
- chrome.tabs.create { url: @getBaseUrl markInfo.url }, (tab) =>
+ TabOperations.openUrlInNewTab { url: @getBaseUrl markInfo.url }, (tab) =>
# Note. tabLoadedHandlers is defined in "main.coffee". The handler below will be called when the tab
# is loaded, its DOM is ready and it registers with the background page.
tabLoadedHandlers[tab.id] = => @gotoPositionInTab extend markInfo, tabId: tab.id