mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Sync localStorage with sessionStorage in auth because safari...
This commit is contained in:
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…
Reference in New Issue
Block a user