Skip to content

Commit

Permalink
v2 async defer
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnessworthy committed Mar 8, 2018
1 parent 72ad24f commit fad5ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/captchav2.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function renderDataAttributes($attributes)
var RecaptchaOptions = <?=json_encode($options) ?>;
</script>
@endif
<script src='https://www.google.com/recaptcha/api.js?render=onload{{ (isset($lang) ? '&hl='.$lang : '') }}'></script>
<script src='https://www.google.com/recaptcha/api.js?render=onload{{ (isset($lang) ? '&hl='.$lang : '') }}' async defer></script>
<div class="g-recaptcha" data-sitekey="{{ $public_key }}" <?=renderDataAttributes($dataParams)?>></div>
<noscript>
<div style="width: 302px; height: 352px;">
Expand Down

0 comments on commit fad5ece

Please sign in to comment.