mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
This commit is contained in:
@@ -71,7 +71,7 @@ class assets_bag
|
||||
$output = '';
|
||||
foreach ($this->stylesheets as $stylesheet)
|
||||
{
|
||||
$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />\n";
|
||||
$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" media=\"screen\" />\n";
|
||||
}
|
||||
|
||||
return $output;
|
||||
@@ -87,7 +87,7 @@ class assets_bag
|
||||
$output = '';
|
||||
foreach ($this->scripts as $script)
|
||||
{
|
||||
$output .= "<script type=\"text/javascript\" src=\"{$script->get_url()}\"></script>\n";
|
||||
$output .= "<script src=\"{$script->get_url()}\"></script>\n";
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
Reference in New Issue
Block a user