Browse Source

remove "text/javascript" type from script type

To be compliant with HTML5
Klemart3D 4 năm trước cách đây
mục cha
commit
83158c78f7
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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;