Total Complexity | 3 |
Complexity/F | 1.5 |
Lines of Code | 9 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | $(document).ready(function () { |
||
2 | $('#password').on('keyup input change', function () { |
||
3 | if ($('#password').val().length > 0) { |
||
4 | $('#password-submit').prop('disabled', false); |
||
5 | } else { |
||
6 | $('#password-submit').prop('disabled', true); |
||
7 | } |
||
8 | }); |
||
9 | }); |
||
10 |