Kaynağa Gözat

Fix missing type

Thomas Rabaix 11 yıl önce
ebeveyn
işleme
8d54073303
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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" href="{{ asset(stylesheet) }}" />
+                <link rel="stylesheet" type="text/css"  href="{{ asset(stylesheet) }}"  />
             {% endfor %}
 
         {% endblock %}
@@ -47,7 +47,7 @@ file that was distributed with this source code.
             </script>
 
             {% for javascript in admin_pool.getOption('javascripts', []) %}
-                <script src="{{ asset(javascript) }}"></script>
+                <script src="{{ asset(javascript) }}" type="text/javascript"></script>
             {% endfor %}
 
         {% endblock %}