Clear cache with 'burn this anon drive'

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

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

Loading…
Cancel
Save