remove QUOTA_EXCEEDED_ERR (undefined in chrome)

This commit is contained in:
Andrew Dolgov 2011-09-13 05:39:32 +04:00
parent 9abc671546
commit dea24b86b1

View file

@ -2054,8 +2054,7 @@ function cache_set(id, obj) {
try {
sessionStorage[id] = obj;
} catch (e) {
if (e == QUOTA_EXCEEDED_ERR)
sessionStorage.clear();
sessionStorage.clear();
}
}