Skip to content

Commit

Permalink
Bugfix: The captcha field was not completely hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Oct 9, 2020
1 parent c67da7a commit 6275704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/forms/form_captcha.html5
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script>
(function() {
var e = document.getElementById('ctrl_<?= $this->id ?>'),
p = e.parentNode, f = p.parentNode;
p = e.parentNode.parentNode, f = p.parentNode.parentNode;

if ('fieldset' === f.nodeName.toLowerCase() && 1 === f.children.length) {
p = f;
Expand Down

0 comments on commit 6275704

Please sign in to comment.