WLED/wled00/data/cfg.js

25 lines
556 B
JavaScript
Raw Permalink Normal View History

2021-10-07 23:09:23 +02:00
var d = document;
//startup, called on page load
function S() {
//populate labels
var l = d.getElementsByClassName("l");
for (var i=0;i<l.length;i++) {
if (lang.labels) {
var t = lang.labels[l[i].id];
if (t) l[i].textContent = t;
else l[i].textContent = l[i].id;
} else {
//invalid or missing language json
}
}
}
//toggle between hidden and 100% width (screen < ? px)
//toggle between icons-only and 100% width (screen < ?? px)
//toggle between icons-only and ? px (screen >= ?? px)
function menu() {
}
S();