Skip to content

Node.js based forum software built for the modern web

fix: #7357

Barış Soner Uşaklı45c322aeb006
diff --git a/public/src/client/login.js b/public/src/client/login.js
index 70c96088de..b571ebf021 100644
--- a/public/src/client/login.js
+++ b/public/src/client/login.js
@@ -69,7 +69,7 @@ define('forum/login', [], function () {
return false;
});
- if ($('#content #username').attr('readonly')) {
+ if ($('#content #username').val()) {
$('#content #password').val('').focus();
} else {
$('#content #username').focus();