Don't show the middle bar if we are on the privacy policy page
This commit is contained in:
parent
d23fadd718
commit
082bbf6d66
|
|
@ -237,6 +237,11 @@ var tarteaucitron = {
|
||||||
},
|
},
|
||||||
params = tarteaucitron.parameters;
|
params = tarteaucitron.parameters;
|
||||||
|
|
||||||
|
// Don't show the middle bar if we are on the privacy policy page
|
||||||
|
if (window.location.href == tarteaucitron.parameters.privacyUrl && tarteaucitron.parameters.orientation == "middle") {
|
||||||
|
tarteaucitron.parameters.orientation = "bottom";
|
||||||
|
}
|
||||||
|
|
||||||
// Step -1
|
// Step -1
|
||||||
if (typeof tarteaucitronCustomPremium !== 'undefined') {
|
if (typeof tarteaucitronCustomPremium !== 'undefined') {
|
||||||
tarteaucitronCustomPremium();
|
tarteaucitronCustomPremium();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue