Sync localStorage with sessionStorage in auth because safari...

pull/1/head
Caleb James DeLisle 8 years ago
parent 57017c68fa
commit 2ecf257fcd

@ -18,6 +18,9 @@ define([
/^http(s)?:\/\/localhost\:/
];
// Safari is weird about localStorage in iframes but seems to let sessionStorage slide.
localStorage.User_hash = localStorage.User_hash || sessionStorage.User_hash;
Cryptpad.ready(function () {
console.log('IFRAME READY');
$(window).on("message", function (jqe) {

Loading…
Cancel
Save