Skip to content

Commit 54bdad6

Browse files
authored
Merge pull request #69 from marketing-relevance/fix-rendering-placement
Only enable explicit rending if inline option is enabled.
2 parents a5c7d8a + 8d5f31d commit 54bdad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/googlerecaptchav3/template.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function onloadCallback() {
5151
@endforeach
5252
}
5353
</script>
54-
<script id='gReCaptchaScript' src="{{$apiJsUrl}}?render=explicit&onload=onloadCallback"
54+
<script id='gReCaptchaScript' src="{{$apiJsUrl}}?render={{$inline ? 'explicit' : $publicKey}}&onload=onloadCallback"
5555
defer
5656
async {!! $nonce !!}></script>
5757
@endif

0 commit comments

Comments
 (0)