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