Explorar el Código

Woops.. undefined is not acceptable

Amauri CHAMPEAUX hace 10 años
padre
commit
5d08422fb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -402,7 +402,7 @@ var tarteaucitron = {
      */
     "promoteMe": function (el) {
         "use strict";
-        if (tarteaucitron.promoteThisScript === false) { return; }
+        if (tarteaucitron.promoteThisScript === false) { return ''; }
         
         var l = tarteaucitron.getLanguage(),
             w = el.offsetWidth,