aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 90f1207780d..89a20a529f3 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -406,9 +406,9 @@ $(document).ready(function(){
$('#submit').hide();
$('#remember_login').hide();
$('#remember_login+label').hide();
- $('#body-login input').keyup(function() {
+ $('input#user, input#password').keyup(function() {
var empty = false;
- $('#body-login input').each(function() {
+ $('input#user, input#password').each(function() {
if ($(this).val() == '') {
empty = true;
}