aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/marks.coffee
diff options
context:
space:
mode:
authormrmr19932017-02-08 17:42:25 +0000
committermrmr19932017-04-16 15:24:15 +0100
commit905fc2d147d1bc656c9e9fec74cda364a686d638 (patch)
tree38159a4a20eb0e1da45595d1d0090eceee3f78ba /content_scripts/marks.coffee
parentf4f017b8fd496b1b4ccd79504ca76cc144cc233e (diff)
downloadvimium-905fc2d147d1bc656c9e9fec74cda364a686d638.tar.bz2
Fallback to storage.local if storage.sync is not available
Diffstat (limited to 'content_scripts/marks.coffee')
-rw-r--r--content_scripts/marks.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/marks.coffee b/content_scripts/marks.coffee
index 808f0a1d..37b062ba 100644
--- a/content_scripts/marks.coffee
+++ b/content_scripts/marks.coffee
@@ -64,7 +64,7 @@ Marks =
if @isGlobalMark event, markName
# This key must match @getLocationKey() in the back end.
key = "vimiumGlobalMark|#{markName}"
- chrome.storage.sync.get key, (items) ->
+ Settings.storage.get key, (items) ->
if key of items
chrome.runtime.sendMessage handler: 'gotoMark', markName: markName
HUD.showForDuration "Jumped to global mark '#{markName}'", 1000