diff --git a/tarteaucitron.js b/tarteaucitron.js index ab511e2..0a9cafc 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -529,6 +529,8 @@ var tarteaucitron = { // Append tarteaucitron: #tarteaucitronRoot last-child of the body body.appendChild(div, body); } + + div.setAttribute('lang', language); div.innerHTML = html; //ie compatibility @@ -612,6 +614,8 @@ var tarteaucitron = { // Append tarteaucitron: #tarteaucitronRoot last-child of the body body.appendChild(div, body); } + + div.setAttribute('lang', language); div.innerHTML = html; } }, 1500);