Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove charset from internal script tag
  • Loading branch information
adrianheine committed Jul 13, 2010
1 parent c0e46ee commit 85f8167
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/template.php
Expand Up @@ -344,8 +344,7 @@ function tpl_metaheaders($alt=true){
$script .= "var SIG='".toolbar_signature()."';";
}
$script .= 'var JSINFO = '.$json->encode($JSINFO).';';
$head['script'][] = array( 'type'=>'text/javascript', 'charset'=>'utf-8',
'_data'=> $script);
$head['script'][] = array( 'type'=>'text/javascript', '_data'=> $script);

// load external javascript
$head['script'][] = array( 'type'=>'text/javascript', 'charset'=>'utf-8', '_data'=>'',
Expand Down

0 comments on commit 85f8167

Please sign in to comment.