script elements no longer need the type attribute in HTML5
This commit is contained in:
parent
eff18b2d9b
commit
0aa0c8dd2d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class serendipity_event_social extends serendipity_event {
|
|||
break;
|
||||
case 'frontend_footer':
|
||||
// this script should go into the JS hook, but it has to be at the bottom to work, and the js hook places it at the top
|
||||
echo '<script src="' . $serendipity['serendipityHTTPPath'] . 'plugins/serendipity_event_social/shariff.min.js' . '" type="text/javascript"></script>';
|
||||
echo '<script src="' . $serendipity['serendipityHTTPPath'] . 'plugins/serendipity_event_social/shariff.min.js' . '"></script>';
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue