Skip to content

Commit

Permalink
Add type attribute to script tag. (fix #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
realdigger committed Jul 29, 2019
1 parent 64c624f commit 35974ec
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 35974ec

Please sign in to comment.