Commit b8c6f616 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] recaptcha: Sometimes the hidden textarea with codes in gets...

[FIX] recaptcha: Sometimes the hidden textarea with codes in gets display:inline-block so override with an important display:none
parent 89e5e8e7
......@@ -81,6 +81,7 @@ class Captcha_ReCaptcha20 extends Zend\Captcha\ReCaptcha
*/
public function render()
{
TikiLib::lib('header')->add_css('.g-recaptcha-response {display:none !important;}');
return '<div class="g-recaptcha" data-sitekey="' . $this->getPubkey() . '" id="antibotcode"></div>';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment