fix javascript error
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
if (this.enable_local_storage) {
|
||||
var now = new Date().getTime();
|
||||
$.each($.localStorage.keys(), function(i, key) {
|
||||
var obj = $.localStorage.get(key);
|
||||
var obj = localStorage.getItem(key);
|
||||
if (obj && obj.expires) {
|
||||
var expiry = Date.parse(obj.expires);
|
||||
if (expiry < now) {
|
||||
|
||||
Reference in New Issue
Block a user