diff options
| author | mrmr1993 | 2017-02-08 17:42:25 +0000 |
|---|---|---|
| committer | mrmr1993 | 2017-04-16 15:24:15 +0100 |
| commit | 905fc2d147d1bc656c9e9fec74cda364a686d638 (patch) | |
| tree | 38159a4a20eb0e1da45595d1d0090eceee3f78ba /content_scripts/marks.coffee | |
| parent | f4f017b8fd496b1b4ccd79504ca76cc144cc233e (diff) | |
| download | vimium-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.coffee | 2 |
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 |
