Sfoglia il codice sorgente

Woops.. undefined is not acceptable

Amauri CHAMPEAUX 10 anni fa
parent
commit
5d08422fb6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,