diff --git a/css/tarteaucitron.css b/css/tarteaucitron.css index 7e75ead..ac0b3b0 100644 --- a/css/tarteaucitron.css +++ b/css/tarteaucitron.css @@ -242,7 +242,7 @@ } #tarteaucitron #tarteaucitronFooter a { - color: #333; + color: #666; font-style: normal; text-decoration: underline; } diff --git a/tarteaucitron.js b/tarteaucitron.js index 4f1aaae..75b19e1 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -24,6 +24,7 @@ var tarteaucitron = { "grayArea": false, "highPrivacy": false, "orientation": "top", + "removeCredit": false, "showAlertSmall": true }; @@ -158,9 +159,13 @@ var tarteaucitron = { } html += ' '; - html += '
'; - html += ' ' + tarteaucitron.lang.credit + ''; - html += '
'; + + if (defaults.removeCredit === false) { + html += '
'; + html += ' ' + tarteaucitron.lang.credit + ''; + html += '
'; + } + html += ''; // get the banner orientation