Fix new version detection

pull/1/head
yflory 7 years ago
parent 4304079c70
commit 9fbf507cda

@ -708,9 +708,11 @@ define([
var update = updateLocalVersion(NewConfig.requireConf && NewConfig.requireConf.urlArgs); var update = updateLocalVersion(NewConfig.requireConf && NewConfig.requireConf.urlArgs);
if (update) { if (update) {
postMessage('DISCONNECT'); postMessage('DISCONNECT');
return;
} }
common.onNetworkReconnect.fire(data);
}); });
common.onNetworkReconnect.fire(data); break; break;
} }
// Messenger // Messenger
case 'CONTACTS_MESSAGE': { case 'CONTACTS_MESSAGE': {

@ -443,6 +443,7 @@ define([
$err.find('a').click(function () { $err.find('a').click(function () {
funcs.gotoURL(); funcs.gotoURL();
}); });
UI.findOKButton().click();
UI.errorLoadingScreen($err, true, true); UI.errorLoadingScreen($err, true, true);
}); });

Loading…
Cancel
Save