Forráskód Böngészése

remove "text/javascript" type from script type

To be compliant with HTML5
Klemart3D 4 éve
szülő
commit
83158c78f7
1 módosított fájl, 0 hozzáadás és 1 törlés
  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;