remove "text/javascript" type from script type

To be compliant with HTML5
This commit is contained in:
Klemart3D 2021-02-05 19:24:59 +01:00 committed by GitHub
parent 8a87fd6e17
commit 83158c78f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

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