restore deleted line and add missing semicolon
This commit is contained in:
@@ -143,6 +143,7 @@ define([
|
|||||||
case 'ALREADY_REGISTERED':
|
case 'ALREADY_REGISTERED':
|
||||||
Cryptpad.removeLoadingScreen(function () {
|
Cryptpad.removeLoadingScreen(function () {
|
||||||
Cryptpad.confirm(Messages.register_alreadyRegistered, function (yes) {
|
Cryptpad.confirm(Messages.register_alreadyRegistered, function (yes) {
|
||||||
|
if (!yes) { return; }
|
||||||
proxy.login_name = uname;
|
proxy.login_name = uname;
|
||||||
|
|
||||||
if (!proxy[Cryptpad.displayNameKey]) {
|
if (!proxy[Cryptpad.displayNameKey]) {
|
||||||
@@ -194,7 +195,7 @@ define([
|
|||||||
$register.click();
|
$register.click();
|
||||||
|
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
Cryptpad.findOKButton().click()
|
Cryptpad.findOKButton().click();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user