Rmove old test logging and add note to frontend captcha script

merge-requests/208/head
Thomas Lynch 4 years ago
parent 786f5a2ffa
commit f263310dc3
  1. 3
      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');

Loading…
Cancel
Save