Woops.. undefined is not acceptable

This commit is contained in:
Amauri CHAMPEAUX 2014-09-22 17:16:21 +02:00
parent 7bae915fd2
commit 5d08422fb6
1 changed files with 1 additions and 1 deletions

View File

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