]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove QUOTA_EXCEEDED_ERR (undefined in chrome)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Sep 2011 01:39:32 +0000 (05:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Sep 2011 01:39:32 +0000 (05:39 +0400)
viewfeed.js

index b70b64bfc5663dc901ae353891960cedeb91e692..83fe934c11bf35b01a001c925db811790a7985fd 100644 (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();
                }
 }