Woops.. undefined is not acceptable
This commit is contained in:
parent
7bae915fd2
commit
5d08422fb6
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue