Fix #236
This commit is contained in:
parent
da584fe5b6
commit
9dfba82d98
|
|
@ -498,6 +498,7 @@ div#tarteaucitronServices {
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
|
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
|
||||||
|
#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,
|
||||||
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
|
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
|
||||||
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
|
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
|
||||||
font: 15px verdana;
|
font: 15px verdana;
|
||||||
|
|
@ -508,11 +509,12 @@ div#tarteaucitronServices {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
|
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
|
||||||
|
#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl {
|
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl, #tarteaucitron #tarteaucitronPrivacyUrlDialog {
|
||||||
background: #008300;
|
background: #008300;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
@ -523,7 +525,7 @@ div#tarteaucitronServices {
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl {
|
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl, #tarteaucitron #tarteaucitronPrivacyUrlDialog {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
|
||||||
|
|
@ -225,9 +225,9 @@ var tarteaucitron = {
|
||||||
},
|
},
|
||||||
params = tarteaucitron.parameters;
|
params = tarteaucitron.parameters;
|
||||||
|
|
||||||
// Step -1
|
// Step -1
|
||||||
if (typeof tarteaucitronCustomPremium !== 'undefined') {
|
if (typeof tarteaucitronCustomPremium !== 'undefined') {
|
||||||
tarteaucitronCustomPremium();
|
tarteaucitronCustomPremium();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 0: get params
|
// Step 0: get params
|
||||||
|
|
@ -246,7 +246,6 @@ var tarteaucitron = {
|
||||||
tarteaucitron.highPrivacy = tarteaucitron.parameters.highPrivacy;
|
tarteaucitron.highPrivacy = tarteaucitron.parameters.highPrivacy;
|
||||||
tarteaucitron.handleBrowserDNTRequest = tarteaucitron.parameters.handleBrowserDNTRequest;
|
tarteaucitron.handleBrowserDNTRequest = tarteaucitron.parameters.handleBrowserDNTRequest;
|
||||||
|
|
||||||
|
|
||||||
// Step 1: load css
|
// Step 1: load css
|
||||||
if ( !tarteaucitron.parameters.useExternalCss ) {
|
if ( !tarteaucitron.parameters.useExternalCss ) {
|
||||||
linkElement.rel = 'stylesheet';
|
linkElement.rel = 'stylesheet';
|
||||||
|
|
@ -290,7 +289,7 @@ var tarteaucitron = {
|
||||||
html += ' ' + tarteaucitron.lang.disclaimer;
|
html += ' ' + tarteaucitron.lang.disclaimer;
|
||||||
if (tarteaucitron.parameters.privacyUrl !== "") {
|
if (tarteaucitron.parameters.privacyUrl !== "") {
|
||||||
html += ' <br/><br/>';
|
html += ' <br/><br/>';
|
||||||
html += ' <button type="button" id="tarteaucitronPrivacyUrl" onclick="document.location = tarteaucitron.parameters.privacyUrl">';
|
html += ' <button type="button" id="tarteaucitronPrivacyUrlDialog" onclick="document.location = tarteaucitron.parameters.privacyUrl">';
|
||||||
html += ' ' + tarteaucitron.lang.privacyUrl;
|
html += ' ' + tarteaucitron.lang.privacyUrl;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
}
|
}
|
||||||
|
|
@ -434,10 +433,10 @@ var tarteaucitron = {
|
||||||
//ie compatibility
|
//ie compatibility
|
||||||
var tacRootAvailableEvent;
|
var tacRootAvailableEvent;
|
||||||
if(typeof(Event) === 'function') {
|
if(typeof(Event) === 'function') {
|
||||||
tacRootAvailableEvent = new Event("tac.root_available");
|
tacRootAvailableEvent = new Event("tac.root_available");
|
||||||
}else{
|
}else{
|
||||||
tacRootAvailableEvent = document.createEvent('Event');
|
tacRootAvailableEvent = document.createEvent('Event');
|
||||||
tacRootAvailableEvent.initEvent("tac.root_available", true, true);
|
tacRootAvailableEvent.initEvent("tac.root_available", true, true);
|
||||||
}
|
}
|
||||||
//end ie compatibility
|
//end ie compatibility
|
||||||
|
|
||||||
|
|
@ -1586,4 +1585,4 @@ var tarteaucitron = {
|
||||||
"getElemHeight": function(elem) {
|
"getElemHeight": function(elem) {
|
||||||
return elem.getAttribute('height') || elem.clientHeight;
|
return elem.getAttribute('height') || elem.clientHeight;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in New Issue