diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/header.html | 4 | ||||
| -rw-r--r-- | templates/post_form.html | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/header.html b/templates/header.html index aecff50b..7f96f241 100644 --- a/templates/header.html +++ b/templates/header.html @@ -19,7 +19,9 @@ {% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %} {% endif %} {% endif %} - {% if config.recaptcha %}<style type="text/css">{% raw %} + {% if config.recaptcha %} + <script src="//www.google.com/recaptcha/api.js"></script> + <style type="text/css">{% raw %} #recaptcha_area { float: none !important; padding: 0 !important; diff --git a/templates/post_form.html b/templates/post_form.html index fea61bbb..f9291f49 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -91,7 +91,7 @@ {{ antibot.html() }} </th> <td> - <script type="text/javascript" src="//www.google.com/recaptcha/api/challenge?k={{ config.recaptcha_public }}"></script> + <div class="g-recaptcha" data-sitekey="{{ config.recaptcha_public }}"></div> {{ antibot.html() }} </td> </tr> |
