Skip to content

Commit

Permalink
Remove deprecated localStorage key
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenko committed Jan 18, 2014
1 parent a287d33 commit b3b3993
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BeachBall.js
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,11 @@ BeachBall.LoadSettings = function() {
if(typeof(Storage) !== 'undefined') {
// Yes! localStorage and sessionStorage support!
BeachBall.storage = 1;

//Remove deprecated storage key if found
if (typeof localStorage['BB.LCSolver.status'] == 'string') {
localStorage.removeItem('BB.LCSolver.status');
}
}

for (i = 0; i < BeachBall.AllOptions.length; i++) {
Expand Down

0 comments on commit b3b3993

Please sign in to comment.