diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-07-08 12:38:14 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-07-08 12:38:14 -0400 |
commit | d5785ee9017aedbe6410f23486660fa6ec948c23 (patch) | |
tree | e040228363ec18c15a9b619756318d16dfceb39f /web/react/utils/utils.jsx | |
parent | 7f5ebb42b5712460fd29fb086b0734ccba1aacd9 (diff) | |
download | chat-d5785ee9017aedbe6410f23486660fa6ec948c23.tar.gz chat-d5785ee9017aedbe6410f23486660fa6ec948c23.tar.bz2 chat-d5785ee9017aedbe6410f23486660fa6ec948c23.zip |
Finishing centralization of BrowserStore
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index f8a7d6450..c34407700 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -97,20 +97,6 @@ module.exports.getCookie = function(name) { if (parts.length == 2) return parts.pop().split(";").shift(); } -module.exports.isLocalStorageSupported = function() { - try { - sessionStorage.setItem("testSession", '1'); - sessionStorage.removeItem("testSession"); - - localStorage.setItem("testLocal", '1'); - localStorage.removeItem("testLocal", '1'); - - return true; - } - catch (e) { - return false; - } -} module.exports.notifyMe = function(title, body, channel) { if ("Notification" in window && Notification.permission !== 'denied') { |