diff options
| author | Jez Ng | 2013-05-26 02:04:51 -0700 |
|---|---|---|
| committer | Jez Ng | 2013-05-26 02:04:51 -0700 |
| commit | 4a9b6d83b02de356b498e2260be3601e943d538c (patch) | |
| tree | c5f90d275f3754ab4e7d59690349fecd487ae87c /background_scripts | |
| parent | 11031398af6c4981454354fb1a70cb3473368515 (diff) | |
| parent | 1f661fc2b30141a140b2eacfc824e0f974dcf292 (diff) | |
| download | vimium-4a9b6d83b02de356b498e2260be3601e943d538c.tar.bz2 | |
Merge pull request #855 from sainaen/fix_849
Replace `sendRequest()` calls with `sendMessage()` ones in marks.coffee
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/marks.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/marks.coffee b/background_scripts/marks.coffee index 5b38a381..15d41205 100644 --- a/background_scripts/marks.coffee +++ b/background_scripts/marks.coffee @@ -24,11 +24,11 @@ removeMarksForTab = (id) -> root.goto = (req, sender) -> mark = marks[req.markName] chrome.tabs.update mark.tabId, selected: true - chrome.tabs.sendRequest mark.tabId, + chrome.tabs.sendMessage mark.tabId, name: "setScrollPosition" scrollX: mark.scrollX scrollY: mark.scrollY - chrome.tabs.sendRequest mark.tabId, + chrome.tabs.sendMessage mark.tabId, name: "showHUDforDuration", text: "Jumped to global mark '#{req.markName}'" duration: 1000 |
