diff --git a/tarteaucitron.js b/tarteaucitron.js index e98d9e4..687b76e 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -1598,7 +1598,7 @@ var tarteaucitron = { } if (typeof callback === 'function') { - if ( !tarteaucitron.parameters.useExternalJs ) { + if ( !tarteaucitron.parameters.useExternalJs || !internal ) { script.onreadystatechange = script.onload = function () { var state = script.readyState; if (!done && (!state || /loaded|complete/.test(state))) {