diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-20 20:38:38 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-20 20:38:38 +0200 |
commit | 1ab27ddd4aba5cc74a7264b053378f057bacb8b6 (patch) | |
tree | d11c2dc58a8e4d8e3926789130f01984d473d8e9 /core/js/lostpassword.js | |
parent | 1ef92621ab02d94af776a0fa4cd2cffec48589ef (diff) | |
parent | e4a8456d0176555e2f27f21b64ac9cbab9ec940a (diff) | |
download | nextcloud-server-1ab27ddd4aba5cc74a7264b053378f057bacb8b6.tar.gz nextcloud-server-1ab27ddd4aba5cc74a7264b053378f057bacb8b6.zip |
Merge pull request #24081 from owncloud/migrate-deprecated-jquery-v1-functions
migrate deprecated jQuery 1.x functions
Diffstat (limited to 'core/js/lostpassword.js')
-rw-r--r-- | core/js/lostpassword.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/lostpassword.js b/core/js/lostpassword.js index df28c2308cb..30d7b98f4e8 100644 --- a/core/js/lostpassword.js +++ b/core/js/lostpassword.js @@ -81,12 +81,12 @@ OC.Lostpassword = { $('#password').parents('form').attr('action'), { password : $('#password').val(), - proceed: $('#encrypted-continue').attr('checked') ? 'true' : 'false' + proceed: $('#encrypted-continue').is(':checked') ? 'true' : 'false' }, OC.Lostpassword.resetDone ); } - if($('#encrypted-continue').attr('checked')) { + if($('#encrypted-continue').is(':checked')) { $('#reset-password #submit').hide(); $('#reset-password #float-spinner').removeClass('hidden'); } |