Skip to content

Commit

Permalink
Recaptcha, add minified version
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Feb 13, 2016
1 parent 2c98a7a commit d8a7b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions media/plg_captcha_recaptcha/js/recaptcha.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/captcha/recaptcha/recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function onInit($id = 'dynamic_recaptcha_1')
{
$file = 'https://www.google.com/recaptcha/api.js?onload=JoomlaInitReCaptcha2&render=explicit&hl=' . JFactory::getLanguage()->getTag();
JHtml::_('script', $file);
JHtml::_('script', 'plg_captcha_recaptcha/recaptcha.js', false, true);
JHtml::_('script', 'plg_captcha_recaptcha/recaptcha.min.js', false, true);
}

return true;
Expand Down

0 comments on commit d8a7b53

Please sign in to comment.