Allow Page Title Override

This commit is contained in:
Patrick Boyd 2018-07-01 16:39:24 -05:00
parent 5b28517c71
commit 68fa8163d7

View file

@ -63,6 +63,10 @@
setup = msg.setup setup = msg.setup
devices = msg.devices devices = msg.devices
if(setup.title !== undefined) {
document.title = setup.title;
}
/* preset buttons */ /* preset buttons */
for(var preset in setup.presets) { for(var preset in setup.presets) {
var html = '<button class="span2 btn btn-info">' + setup.presets[preset].label + '</button>'; var html = '<button class="span2 btn btn-info">' + setup.presets[preset].label + '</button>';