Merge pull request #5888 from Sanjaybhattwebkul/admin-login

Issue #5887 fixed
This commit is contained in:
Prateek Srivastava 2022-02-28 13:59:23 +05:30 committed by GitHub
commit cec6deca8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 10 deletions

View File

@ -63,6 +63,7 @@
input.attr("type", "password");
}
});
$(":input[name=email]").focus();
});
</script>
@endpush

View File

@ -83,6 +83,7 @@
$('#password').attr("type", "password");
}
});
$(":input[name=email]").focus();
});
</script>

View File

@ -106,6 +106,12 @@
@push('scripts')
<script>
$(function(){
$(":input[name=first_name]").focus();
});
</script>
{!! Captcha::renderJS() !!}
@endpush

View File

@ -112,16 +112,20 @@
{!! Captcha::renderJS() !!}
<script>
function myFunction() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
$(function(){
$(":input[name=email]").focus();
});
function myFunction() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
@endpush

View File

@ -158,6 +158,11 @@
@endsection
@push('scripts')
<script>
$(function(){
$(":input[name=first_name]").focus();
});
</script>
{!! Captcha::renderJS() !!}