Explorar o código

remove "text/javascript" type from script type

To be compliant with HTML5
Klemart3D %!s(int64=4) %!d(string=hai) anos
pai
achega
83158c78f7
Modificáronse 1 ficheiros con 0 adicións e 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;