From: Andrew Dolgov Date: Tue, 13 Sep 2011 01:39:32 +0000 (+0400) Subject: remove QUOTA_EXCEEDED_ERR (undefined in chrome) X-Git-Tag: 1.5.6~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dea24b86b18c165dc2183241bff7e7ca670c7989;p=tt-rss.git remove QUOTA_EXCEEDED_ERR (undefined in chrome) --- 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(); } }