[Client] set lang
This commit is contained in:
parent
0ff0107cb8
commit
97f0b29d4a
4 changed files with 10 additions and 4 deletions
|
@ -21,6 +21,11 @@ require('./common/tags');
|
|||
|
||||
console.info(`Misskey v${VERSION} (葵 aoi)`);
|
||||
|
||||
{ // Set lang attr
|
||||
const html = document.documentElement;
|
||||
html.setAttribute('lang', LANG);
|
||||
}
|
||||
|
||||
{ // Set description meta tag
|
||||
const head = document.getElementsByTagName('head')[0];
|
||||
const meta = document.createElement('meta');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue