From 30b2a745fa7eb894b70545eedb8f0dadfb1ff6ae Mon Sep 17 00:00:00 2001 From: dotlouis <1891109+dotlouis@users.noreply.github.com> Date: Sat, 14 Mar 2015 11:08:21 +0100 Subject: [PATCH] Fix in backgroundSave() --- src/controllers/SettingsCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/SettingsCtrl.js b/src/controllers/SettingsCtrl.js index 2afc1a9..07a530a 100644 --- a/src/controllers/SettingsCtrl.js +++ b/src/controllers/SettingsCtrl.js @@ -86,7 +86,7 @@ angular.module('cardboard.controllers') // Save the background dataUrl to the cache if(bg.type == "Local") - Chrome.cache.setAsync({"localBackgroundDataUrl": bg.url}); + chrome.storage.local.setAsync({"localBackgroundDataUrl": bg.url}); // Remove dataUrl because it's too big to fit sync storage for(var i in bgs)