Permalink
Browse files

Remove charset from internal script tag

  • Loading branch information...
adrianheine committed Jul 13, 2010
1 parent c0e46ee commit 85f816794921d024d97dbafc2da716d53daf947b
Showing with 1 addition and 2 deletions.
  1. +1 −2 inc/template.php
@@ -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'=>'',

0 comments on commit 85f8167

Please sign in to comment.