Skip to content

Commit

Permalink
Fix in backgroundSave()
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlouis committed Mar 14, 2015
1 parent 34920f3 commit 30b2a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/SettingsCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 30b2a74

Please sign in to comment.