remove QUOTA_EXCEEDED_ERR (undefined in chrome)
This commit is contained in:
parent
9abc671546
commit
dea24b86b1
1 changed files with 1 additions and 2 deletions
|
@ -2054,8 +2054,7 @@ function cache_set(id, obj) {
|
|||
try {
|
||||
sessionStorage[id] = obj;
|
||||
} catch (e) {
|
||||
if (e == QUOTA_EXCEEDED_ERR)
|
||||
sessionStorage.clear();
|
||||
sessionStorage.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue