From 5d08422fb6d37eb27919a4edcc899cebca9c3c61 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 22 Sep 2014 17:16:21 +0200 Subject: [PATCH] Woops.. undefined is not acceptable --- tarteaucitron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index b715aef..cbfc7f8 100644 --- a/tarteaucitron.js +++ b/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,