Skip to content

Commit 69e0543

Browse files
committed
AC-3179:: Fixing static tests
1 parent 1037320 commit 69e0543

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ReCaptchaUser/view/adminhtml/templates/recaptcha.phtml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $isInvisible = !empty($config['invisible']);
4141
let attemptRecaptcha = () => {
4242
attempts++;
4343
if (attempts > maxRetryAttempts){
44-
console.error("Could not fetch invisible ReCaptcha token. Please refresh the page and try again.");
44+
console.error("Could not fetch invisible ReCaptcha token. Please refresh the page.");
4545
return;
4646
}
4747
if (!isRecaptchaLoaded) {
@@ -66,7 +66,8 @@ $isInvisible = !empty($config['invisible']);
6666
window.globalOnRecaptchaOnLoadCallback = function () {
6767

6868
widgetId = grecaptcha.render('admin-recaptcha', {
69-
<?php foreach ($renderingOptions as $key => $value): ?> '<?= $block->escapeJs($key) ?>': '<?= $block->escapeJs($value) ?>',
69+
<?php foreach ($renderingOptions as $key => $value): ?>
70+
'<?= $block->escapeJs($key) ?>': '<?= $block->escapeJs($value) ?>',
7071
<?php endforeach; ?> 'callback': function (_token) {
7172
<?php if ($isInvisible): ?>
7273
token = _token;

0 commit comments

Comments
 (0)