diff options
| author | Stephen Blott | 2017-02-11 07:27:55 +0000 |
|---|---|---|
| committer | GitHub | 2017-02-11 07:27:55 +0000 |
| commit | 771b0abc9d60a31d29cb59de6edfe529a5e3005c (patch) | |
| tree | 4f462e37944285c1d70061b84836f15203a37875 /background_scripts/marks.coffee | |
| parent | b12ed93d0b96df90511d3331e8a5f54e7b1b7da4 (diff) | |
| parent | 97586506fb861c9ca0af1e7fd4941ed0ec5b1b9b (diff) | |
| download | vimium-771b0abc9d60a31d29cb59de6edfe529a5e3005c.tar.bz2 | |
Merge pull request #2426 from mrmr1993/no-depreciated-apis
Replace depreciated APIs
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 dbc14671..33c467a7 100644 --- a/background_scripts/marks.coffee +++ b/background_scripts/marks.coffee @@ -57,7 +57,7 @@ Marks = # Focus an existing tab and scroll to the given position within it. gotoPositionInTab: ({ tabId, scrollX, scrollY, markName }) -> - chrome.tabs.update tabId, {selected: true}, -> + chrome.tabs.update tabId, { active: true }, -> chrome.tabs.sendMessage tabId, {name: "setScrollPosition", scrollX, scrollY} # The tab we're trying to find no longer exists. We either find another tab with a matching URL and use it, |
