Allow Page Title Override
This commit is contained in:
parent
5b28517c71
commit
68fa8163d7
1 changed files with 5 additions and 1 deletions
|
@ -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>';
|
||||||
|
|
Loading…
Reference in a new issue