fix for #165, now works with localStorage disabled
This commit is contained in:
parent
5c6f3a1daf
commit
c664148aff
|
@ -150,6 +150,12 @@ function localStorageObjectCache_GET(name, unique_id, callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkLocalStorage() {
|
function checkLocalStorage() {
|
||||||
|
|
||||||
|
if(localStorageIsEnabled() === false) {
|
||||||
|
console.log('localstorage disabled');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
console.log('checking localStorage for invalid entries');
|
console.log('checking localStorage for invalid entries');
|
||||||
var dateNow = Date.now()
|
var dateNow = Date.now()
|
||||||
var corrected = 0;
|
var corrected = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user