remove "text/javascript" type from script type
To be compliant with HTML5
This commit is contained in:
parent
8a87fd6e17
commit
83158c78f7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue