* Updates the Sign-in button state depending on ReCAptcha and form values state.
()
| 201 | * Updates the Sign-in button state depending on ReCAptcha and form values state. |
| 202 | */ |
| 203 | function updateSignInButtonUI() { |
| 204 | signInButton.disabled = |
| 205 | !isCaptchaOK() || !isPhoneNumberValid() || !!window.signingIn; |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Updates the Verify-code button state depending on form values state. |
no test coverage detected