mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
This commit is contained in:
parent
1cd8bbac0c
commit
84ff21a586
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue