mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
closes #4895
This commit is contained in:
@@ -37,6 +37,11 @@ define('forum/login', ['translator'], function(translator) {
|
||||
errorEl.find('p').translateText(data.responseText);
|
||||
errorEl.show();
|
||||
submitEl.removeClass('disabled');
|
||||
|
||||
// Select the entire password if that field has focus
|
||||
if ($('#password:focus').size()) {
|
||||
$('#password').select();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user