Skip to content

Commit fad5ece

Browse files
v2 async defer
greggilbert#135
1 parent 72ad24f commit fad5ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/captchav2.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function renderDataAttributes($attributes)
1616
var RecaptchaOptions = <?=json_encode($options) ?>;
1717
</script>
1818
@endif
19-
<script src='https://www.google.com/recaptcha/api.js?render=onload{{ (isset($lang) ? '&hl='.$lang : '') }}'></script>
19+
<script src='https://www.google.com/recaptcha/api.js?render=onload{{ (isset($lang) ? '&hl='.$lang : '') }}' async defer></script>
2020
<div class="g-recaptcha" data-sitekey="{{ $public_key }}" <?=renderDataAttributes($dataParams)?>></div>
2121
<noscript>
2222
<div style="width: 302px; height: 352px;">

0 commit comments

Comments
 (0)