1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:35:55 +00:00

re-enable local storage (use sessionStorage for cache)

This commit is contained in:
Andrew Dolgov
2010-11-21 18:12:50 +03:00
parent e121848048
commit dbf8845e3b
3 changed files with 16 additions and 17 deletions

View File

@@ -1200,12 +1200,11 @@ function backend_sanity_check_callback(transport) {
}
function has_local_storage() {
return false;
/* try {
return 'localStorage' in window && window['localStorage'] != null;
try {
return 'sessionStorage' in window && window['sessionStorage'] != null;
} catch (e) {
return false;
} */
}
}
function catSelectOnChange(elem) {