mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-15 11:09:59 +01:00
Implicitely add lang attribute to the HTML page
so that language-specific CSS can be applied (see #909)
This commit is contained in:
@@ -99,6 +99,7 @@ function parseLang(fileStr){
|
|||||||
element.innerHTML = lang(element.getAttribute("data-translate"));
|
element.innerHTML = lang(element.getAttribute("data-translate"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
document.querySelector('html').setAttribute("lang", langJson["lang"] );
|
||||||
if(typeof load !== 'undefined') load();
|
if(typeof load !== 'undefined') load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user