Add a lang attribute on the tac root div
This commit is contained in:
parent
21a271e5ba
commit
a470a4be59
|
|
@ -529,6 +529,8 @@ var tarteaucitron = {
|
||||||
// Append tarteaucitron: #tarteaucitronRoot last-child of the body
|
// Append tarteaucitron: #tarteaucitronRoot last-child of the body
|
||||||
body.appendChild(div, body);
|
body.appendChild(div, body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.setAttribute('lang', language);
|
||||||
div.innerHTML = html;
|
div.innerHTML = html;
|
||||||
|
|
||||||
//ie compatibility
|
//ie compatibility
|
||||||
|
|
@ -612,6 +614,8 @@ var tarteaucitron = {
|
||||||
// Append tarteaucitron: #tarteaucitronRoot last-child of the body
|
// Append tarteaucitron: #tarteaucitronRoot last-child of the body
|
||||||
body.appendChild(div, body);
|
body.appendChild(div, body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.setAttribute('lang', language);
|
||||||
div.innerHTML = html;
|
div.innerHTML = html;
|
||||||
}
|
}
|
||||||
}, 1500);
|
}, 1500);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue