diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/functions.js b/functions.js index 8e02b7932..11f1f4e0a 100644 --- a/functions.js +++ b/functions.js @@ -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) { |