From dea24b86b18c165dc2183241bff7e7ca670c7989 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Sep 2011 05:39:32 +0400 Subject: [PATCH] remove QUOTA_EXCEEDED_ERR (undefined in chrome) --- viewfeed.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/viewfeed.js b/viewfeed.js index b70b64bf..83fe934c 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -2054,8 +2054,7 @@ function cache_set(id, obj) { try { sessionStorage[id] = obj; } catch (e) { - if (e == QUOTA_EXCEEDED_ERR) - sessionStorage.clear(); + sessionStorage.clear(); } }