Explorar el Código

remove "text/javascript" type from script type

To be compliant with HTML5
Klemart3D hace 4 años
padre
commit
83158c78f7
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      tarteaucitron.js

+ 0 - 1
tarteaucitron.js

@@ -1586,7 +1586,6 @@ var tarteaucitron = {
             }
         } else {
             script = document.createElement('script');
-            script.type = 'text/javascript';
             script.id = (id !== undefined) ? id : '';
             script.async = true;
             script.src = url;