mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
only check our own input fields when determining to show the login button
fixes a problem with browser plugins adding hidden inputs
This commit is contained in:
parent
aac9629e88
commit
58adeaa80a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue