mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 11:27:01 +02:00
closes #5773
This commit is contained in:
@@ -54,7 +54,7 @@ define('forum/login', [], function () {
|
||||
app.flags._sessionRefresh = false;
|
||||
|
||||
// Select the entire password if that field has focus
|
||||
if ($('#password:focus').size()) {
|
||||
if ($('#password:focus').length) {
|
||||
$('#password').select();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user