Browse Source

Merge pull request #2412 from dunglas/patch-3

Cleanup layout's HTML
Andrej Hudec 10 years ago
parent
commit
acb1706aa6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Resources/views/standard_layout.html.twig

+ 2 - 2
Resources/views/standard_layout.html.twig

@@ -30,7 +30,7 @@ file that was distributed with this source code.
         {% block stylesheets %}
 
             {% for stylesheet in admin_pool.getOption('stylesheets', []) %}
-                <link rel="stylesheet" type="text/css"  href="{{ asset(stylesheet) }}"  />
+                <link rel="stylesheet" href="{{ asset(stylesheet) }}">
             {% endfor %}
 
         {% endblock %}
@@ -48,7 +48,7 @@ file that was distributed with this source code.
             </script>
 
             {% for javascript in admin_pool.getOption('javascripts', []) %}
-                <script src="{{ asset(javascript) }}" type="text/javascript"></script>
+                <script src="{{ asset(javascript) }}"></script>
             {% endfor %}
 
             {# localize select2 #}