Skip to content

Commit

Permalink
Update storage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenandrews committed Oct 18, 2019
1 parent 17a174b commit ddf6486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app/services/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ app.service('Storage', function() {
if (typeof k != 'undefined') r.keys = k;
if (typeof p != 'undefined') r.password = p;
if (typeof r.data.version == 'undefined') r.data.version = r.storageVersion;
localStorage.setItem('tbstore', JSON.stringify(r.data));
window.store.set('tbstore', r.data);
};
r.clearStore = function(){
r.keys = [];
Expand Down

0 comments on commit ddf6486

Please sign in to comment.