Skip to content

Commit

Permalink
Merge pull request #159 from picks44/master
Browse files Browse the repository at this point in the history
Update ewz_recaptcha_widget.html.twig
  • Loading branch information
excelwebzone authored May 22, 2017
2 parents 7adf427 + 0e2b43b commit a1bbc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/Form/ewz_recaptcha_widget.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% if form.vars.ewz_recaptcha_enabled %}
{% if not form.vars.ewz_recaptcha_ajax %}
{% if attr.options.size == 'invisible' and attr.options.callback is not defined %}
{% set options = options|merge({'callback': 'onReCaptchaSuccess'}) %}
{% set options = attr.options|merge({'callback': 'onReCaptchaSuccess'}) %}
{% set attr = attr|merge({'options': options}) %}

<script type="text/javascript">
Expand Down

0 comments on commit a1bbc1e

Please sign in to comment.