diff --git a/homepage/static/assets/js/captcha_refresh.js b/homepage/static/assets/js/captcha_refresh.js index bc5f1d9..dc2a7b9 100644 --- a/homepage/static/assets/js/captcha_refresh.js +++ b/homepage/static/assets/js/captcha_refresh.js @@ -1,8 +1,8 @@ const g_captcha_timeout_seconds = 600; -let g_captcha_timeout_remain = g_captcha_timeout_seconds; const captcha_hidden_field = document.forms[0].children[4].children[0]; +let g_captcha_timeout_remain = g_captcha_timeout_seconds; let g_current_captcha_id = captcha_hidden_field.value; async function getNewCaptcha() {