jsunit: Add proper lang tag to document
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c7a320d880
commit
7f52754fe8
|
@ -117,6 +117,7 @@ window.Snap.prototype = {
|
||||||
};
|
};
|
||||||
|
|
||||||
window.isPhantom = /phantom/i.test(navigator.userAgent);
|
window.isPhantom = /phantom/i.test(navigator.userAgent);
|
||||||
|
document.documentElement.lang = navigator.language;
|
||||||
|
|
||||||
// global setup for all tests
|
// global setup for all tests
|
||||||
(function setupTests() {
|
(function setupTests() {
|
||||||
|
|
Loading…
Reference in New Issue