瀏覽代碼

Woops.. undefined is not acceptable

Amauri CHAMPEAUX 10 年之前
父節點
當前提交
5d08422fb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,