Browse Source

Woops.. undefined is not acceptable

Amauri CHAMPEAUX 10 năm trước cách đây
mục cha
commit
5d08422fb6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,