diff --git a/exmplate/script.js b/exmplate/script.js
index d31dcf1..8881d22 100644
--- a/exmplate/script.js
+++ b/exmplate/script.js
@@ -48,7 +48,7 @@
});
windowCaptcha.querySelector('button.window-captcha__reload').addEventListener('click', function () {
- actionGetCaptcha(windowCaptcha, domain, token);
+ actionGetCaptcha(windowCaptcha, domain, token, shadow);
});
return windowCaptcha;
@@ -175,7 +175,6 @@
setError('Произошла ошибка!', button);
return
}
-
shadow.querySelector('button.button-open-window-captcha').remove();
let captchaVerified = document.createElement('div');
captchaVerified.innerHTML = `Ура!!! Проверку прошли!`;