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