Option to remove the credit link
This commit is contained in:
parent
8174cbcae1
commit
a174127e8b
|
|
@ -242,7 +242,7 @@
|
|||
}
|
||||
|
||||
#tarteaucitron #tarteaucitronFooter a {
|
||||
color: #333;
|
||||
color: #666;
|
||||
font-style: normal;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ var tarteaucitron = {
|
|||
"grayArea": false,
|
||||
"highPrivacy": false,
|
||||
"orientation": "top",
|
||||
"removeCredit": false,
|
||||
"showAlertSmall": true
|
||||
};
|
||||
|
||||
|
|
@ -158,9 +159,13 @@ var tarteaucitron = {
|
|||
}
|
||||
|
||||
html += ' </div>';
|
||||
|
||||
if (defaults.removeCredit === false) {
|
||||
html += ' <div id="tarteaucitronFooter">';
|
||||
html += ' <a href="https://opt-out.ferank.eu/" rel="nofollow" target="_blank">' + tarteaucitron.lang.credit + '</a>';
|
||||
html += ' </div>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
||||
// get the banner orientation
|
||||
|
|
|
|||
Loading…
Reference in New Issue