Remove let FIX #516
This commit is contained in:
parent
473d901ba1
commit
09db2562a5
|
|
@ -595,11 +595,11 @@ var tarteaucitron = {
|
||||||
}, 1500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
if(tarteaucitron.parameters.closePopup === true){
|
if(tarteaucitron.parameters.closePopup === true){
|
||||||
let element = document.getElementById('tarteaucitronAlertBig');
|
var closeElement = document.getElementById('tarteaucitronAlertBig'),
|
||||||
let span = document.createElement('span')
|
closeSpan = document.createElement('span');
|
||||||
span.textContent = 'X';
|
closeSpan.textContent = 'X';
|
||||||
span.setAttribute('id', "tarteaucitronCloseCross")
|
closeSpan.setAttribute('id', "tarteaucitronCloseCross");
|
||||||
element.insertBefore(span, element.firstElementChild)
|
closeElement.insertBefore(closeSpan, closeElement.firstElementChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue