implement addHB (Usermod help button utility function)
See https://github.com/Aircoookie/WLED/pull/2965
This commit is contained in:
@@ -228,6 +228,11 @@
|
||||
if (txt2!="") obj[el].insertAdjacentHTML('beforebegin', txt2 + ' '); //add pre texts
|
||||
}
|
||||
}
|
||||
// add Help Button
|
||||
function addHB(um)
|
||||
{
|
||||
addInfo(um + ':help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/' + um + '"\" type=\"button\">?</button>')
|
||||
}
|
||||
// load settings and insert values into DOM
|
||||
function ldS() {
|
||||
var url = (loc?`http://${locip}`:'') + '/cfg.json';
|
||||
|
||||
Reference in New Issue
Block a user