diff --git a/tarteaucitron.js b/tarteaucitron.js index 819e7cf..a91787c 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -691,7 +691,7 @@ var tarteaucitron = { childId = id + Math.floor(Math.random() * 99999999999); document.getElementById(id).innerHTML += '
'; tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute('src'), childId); - } else if (type.indexOf('javascript') !== -1) { + } else if (type.indexOf('javascript') !== -1 || type === '') { eval(scripts[i].innerHTML); } }