From f263310dc38b4ca1497b42d0c0bba8b2f11633cb Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Sun, 16 Aug 2020 01:03:47 +0000 Subject: [PATCH] Rmove old test logging and add note to frontend captcha script --- gulp/res/js/captcha.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulp/res/js/captcha.js b/gulp/res/js/captcha.js index 8f99ab25..526340bd 100644 --- a/gulp/res/js/captcha.js +++ b/gulp/res/js/captcha.js @@ -45,7 +45,7 @@ class CaptchaController { xhr.send(null); } - addMissingCaptcha() { + addMissingCaptcha() { // this will potentially be borked for .onion const postSubmitButton = document.getElementById('submitpost'); const captchaFormSectionHtml = captchaformsection(); postSubmitButton.insertAdjacentHTML('beforebegin', captchaFormSectionHtml); @@ -55,7 +55,6 @@ class CaptchaController { } loadCaptcha(field) { -console.log(field) const captchaDiv = field.previousSibling; const captchaImg = document.createElement('img'); const refreshDiv = document.createElement('div');