Fix cache and storage issues in share and filepicker iframes
This commit is contained in:
@@ -81,8 +81,8 @@ define([
|
||||
});
|
||||
localStorage.CRYPTPAD_URLARGS = ApiConfig.requireConf.urlArgs;
|
||||
}
|
||||
var cache = {};
|
||||
var localStore = {};
|
||||
var cache = window.cpCache = {};
|
||||
var localStore = window.localStore = {};
|
||||
Object.keys(localStorage).forEach(function (k) {
|
||||
if (k.indexOf('CRYPTPAD_CACHE|') === 0) {
|
||||
cache[k.slice(('CRYPTPAD_CACHE|').length)] = localStorage[k];
|
||||
|
||||
Reference in New Issue
Block a user