Skip to content

Commit 7924dc1

Browse files
committed
fix missing space in the invisible button template. fixes #23
1 parent 2af0c93 commit 7924dc1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def readme():
77
return f.read()
88

99

10-
version = '1.3.0'
10+
version = '1.3.1'
1111

1212

1313
setup(

snowpenguin/django/recaptcha2/templates/snowpenguin/recaptcha/recaptcha_invisible_button.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<button id="recaptcha-invisible-{{ generated_id }}" class="g-recaptcha{% if extra_css_classes %}{{ extra_css_classes }}{% endif %}" data-sitekey="{{ public_key }}" data-callback="{% if custom_callback %}{{ custom_callback }}{% endif %}{% if not custom_callback %}recaptcha_onSubmit_{{ generated_id }}{% endif %}">{{ submit_label }}</button>
1+
<button id="recaptcha-invisible-{{ generated_id }}" class="g-recaptcha{% if extra_css_classes %} {{ extra_css_classes }}{% endif %}" data-sitekey="{{ public_key }}" data-callback="{% if custom_callback %}{{ custom_callback }}{% endif %}{% if not custom_callback %}recaptcha_onSubmit_{{ generated_id }}{% endif %}">{{ submit_label }}</button>
22
{% if not custom_callback %}<script>
33
function recaptcha_onSubmit_{{ generated_id }}() {
44
{% if form_id %}document.getElementById("{{ form_id }}").submit();{% endif %}

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sonar.projectKey=kbytesys_django-recaptcha2
22
sonar.organization=kbytesys-github
33
sonar.projectName=Django reCAPTCHA2
4-
sonar.projectVersion=1.3.0
4+
sonar.projectVersion=1.3.1
55
sonar.sources=snowpenguin/

0 commit comments

Comments
 (0)