From ff0010c182c1643cc5e0c516e95ed50e18004068 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Nov 2010 12:54:43 +0300 Subject: implement html5 localStorage support for client-side cache --- tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index 51c1d3c5f..6dd53c8b5 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -421,6 +421,9 @@ function init_second_stage() { enable_offline_reading(); + if (has_local_storage()) + localStorage.clear(); + } catch (e) { exception_error("init_second_stage", e); } -- cgit v1.2.3