Add focus on the alert for keyboard navigation
This commit is contained in:
parent
f4450c5a73
commit
279523f18d
|
|
@ -1234,6 +1234,10 @@ var tarteaucitron = {
|
||||||
}
|
}
|
||||||
//end ie compatibility
|
//end ie compatibility
|
||||||
|
|
||||||
|
if (document.getElementById('tarteaucitronPersonalize2') !== null) {
|
||||||
|
document.getElementById('tarteaucitronPersonalize2').focus();
|
||||||
|
}
|
||||||
|
|
||||||
window.dispatchEvent(tacOpenAlertEvent);
|
window.dispatchEvent(tacOpenAlertEvent);
|
||||||
},
|
},
|
||||||
"closeAlert": function () {
|
"closeAlert": function () {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue