From cae70d6c20dfe5a0233c2ce215f7fee56e769897 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 23 Sep 2022 00:36:43 +0400 Subject: [PATCH] Placed g_captcha_timeout_remain next to g_current_captcha_id for better view. :) --- homepage/static/assets/js/captcha_refresh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {