Clear cache with 'burn this anon drive'

pull/1/head
yflory 4 years ago
parent 2647acbb78
commit 0aef54be62

@ -54,8 +54,14 @@ define([
if (Utils.LocalStore.isLoggedIn()) { return; } if (Utils.LocalStore.isLoggedIn()) { return; }
Utils.LocalStore.setFSHash(''); Utils.LocalStore.setFSHash('');
Utils.LocalStore.clearThumbnail(); Utils.LocalStore.clearThumbnail();
try {
Utils.Cache.clear(function () {
window.location.reload(); window.location.reload();
}); });
} catch (e) {
window.location.reload();
}
});
sframeChan.on('Q_DRIVE_USEROBJECT', function (data, cb) { sframeChan.on('Q_DRIVE_USEROBJECT', function (data, cb) {
Cryptpad.userObjectCommand(data, cb); Cryptpad.userObjectCommand(data, cb);
}); });

Loading…
Cancel
Save