Skip to content

Commit 30b2a74

Browse files
committed
Fix in backgroundSave()
1 parent 34920f3 commit 30b2a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/SettingsCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ angular.module('cardboard.controllers')
8686

8787
// Save the background dataUrl to the cache
8888
if(bg.type == "Local")
89-
Chrome.cache.setAsync({"localBackgroundDataUrl": bg.url});
89+
chrome.storage.local.setAsync({"localBackgroundDataUrl": bg.url});
9090

9191
// Remove dataUrl because it's too big to fit sync storage
9292
for(var i in bgs)

0 commit comments

Comments
 (0)