mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix drive reconnect error
This commit is contained in:
parent
2bcaf110a7
commit
98acca0c0e
@ -2773,12 +2773,14 @@ define([
|
||||
});
|
||||
}, 5000);
|
||||
|
||||
store.networkPromise.then(function () {
|
||||
clearTimeout(to);
|
||||
}, function (err) {
|
||||
console.error(err);
|
||||
clearTimeout(to);
|
||||
});
|
||||
if (store.networkPromise && store.networkPromise.then) {
|
||||
store.networkPromise.then(function () {
|
||||
clearTimeout(to);
|
||||
}, function (err) {
|
||||
console.error(err);
|
||||
clearTimeout(to);
|
||||
});
|
||||
}
|
||||
|
||||
if (!data.cache) { return; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user