mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 00:41:29 +00:00
implement html5 localStorage support for client-side cache
This commit is contained in:
@@ -2184,3 +2184,10 @@ function backend_sanity_check_callback(transport) {
|
||||
}
|
||||
}
|
||||
|
||||
function has_local_storage() {
|
||||
try {
|
||||
return 'localStorage' in window && window['localStorage'] != null;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user