mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Clear cache with 'burn this anon drive'
This commit is contained in:
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…
Reference in New Issue
Block a user