Skip to content

Commit

Permalink
Use correct way to clear localStorage items.
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Jun 10, 2012
1 parent 346b80e commit e5da0d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/js/app.js
Expand Up @@ -195,8 +195,8 @@ ELRCMaker.prototype.loadAudio = function(url, filename, initial) {
// localStorage['audio'] = url;
// localStorage['audioFilename'] = filename;
//}
localStorage['audio'] = null;
localStorage['audioFilename'] = null;
localStorage.removeItem('audio');
localStorage.removeItem('audioFilename');
}

/**
Expand Down

0 comments on commit e5da0d0

Please sign in to comment.