Don't show the middle bar if we are on the privacy policy page

This commit is contained in:
Amauri CHAMPEAUX 2020-03-04 12:14:00 +01:00
parent d23fadd718
commit 082bbf6d66
1 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,11 @@ var tarteaucitron = {
"useExternalJs": false
},
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
if (typeof tarteaucitronCustomPremium !== 'undefined') {