From 83158c78f7529730f1b94245744976a37a332ea9 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 5 Feb 2021 19:24:59 +0100 Subject: [PATCH] remove "text/javascript" type from script type To be compliant with HTML5 --- tarteaucitron.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index 52607de..ef97247 100644 --- a/tarteaucitron.js +++ b/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;