fix for #165, now works with localStorage disabled

This commit is contained in:
Hannes Mannerheim 2015-05-19 13:42:54 +02:00
parent 5c6f3a1daf
commit c664148aff

View File

@ -150,6 +150,12 @@ function localStorageObjectCache_GET(name, unique_id, callback) {
}
function checkLocalStorage() {
if(localStorageIsEnabled() === false) {
console.log('localstorage disabled');
return false;
}
console.log('checking localStorage for invalid entries');
var dateNow = Date.now()
var corrected = 0;