mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ window.Snap.prototype = {
|
|||
};
|
||||
|
||||
window.isPhantom = /phantom/i.test(navigator.userAgent);
|
||||
document.documentElement.lang = navigator.language;
|
||||
|
||||
// global setup for all tests
|
||||
(function setupTests() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue