aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/marks.coffee4
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