diff options
| author | Stephen Blott | 2015-06-30 05:39:49 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-06-30 05:39:49 +0100 |
| commit | 51b21408870fbcd2e59c806a24082d9bdd5c5e84 (patch) | |
| tree | a5549bd47714fdcbeefe1cbac970a9153332eef0 /background_scripts/marks.coffee | |
| parent | 0d95a46573aa1bed7720454e6fb95a1cbaa59208 (diff) | |
| parent | 6637d09d4043154bdf37a063137f4074a1dc3239 (diff) | |
| download | vimium-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.coffee | 2 |
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 |
