Skip to content

Commit

Permalink
Merge pull request #2 from realdigger/fix-script-type
Browse files Browse the repository at this point in the history
Add type attribute to script tag. (fix #3)
  • Loading branch information
realdigger committed Jul 29, 2019
2 parents 3f0ae56 + 35974ec commit 8656050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/recaptcha/recaptcha-for-smf.php
Expand Up @@ -11,7 +11,7 @@ function load_recaptcha()
{
global $context;

$context['html_headers'] .= '<script src="https://www.google.com/recaptcha/api.js"></script>';
$context['html_headers'] .= '<script type="text/javascript" src="https://www.google.com/recaptcha/api.js"></script>';
loadLanguage('Recaptcha');
loadTemplate(false, 'recaptcha');
}
}

0 comments on commit 8656050

Please sign in to comment.